From 5c07ec6320e025d77a77ee4aa03aa223543eae6c Mon Sep 17 00:00:00 2001
From: lawvs <18554747+lawvs@users.noreply.github.com>
Date: Mon, 7 Oct 2024 01:47:39 +0800
Subject: [PATCH] refactor: update settings panel
---
src/Settings.tsx | 16 ++++++++++++----
src/components/QuestCard/index.tsx | 13 +------------
2 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/src/Settings.tsx b/src/Settings.tsx
index 1d62c13..322ad1f 100644
--- a/src/Settings.tsx
+++ b/src/Settings.tsx
@@ -120,16 +120,24 @@ export const SettingsMain = () => {
onClick={removeStorage}
/>
- {t('Version', { version: PKG.version })}
- {t('Data Version', { version: DATA_VERSION })}
+
+
+ {t('Version', { version: PKG.version })}
+ {t('Data Version', { version: DATA_VERSION })}
)
}
diff --git a/src/components/QuestCard/index.tsx b/src/components/QuestCard/index.tsx
index 2266e83..2fd694b 100644
--- a/src/components/QuestCard/index.tsx
+++ b/src/components/QuestCard/index.tsx
@@ -3,11 +3,9 @@ import {
Card,
Elevation,
H5,
- Icon,
Menu,
- MenuDivider,
MenuItem,
- Popover,
+ Popover
} from '@blueprintjs/core'
import { IconNames } from '@blueprintjs/icons'
import React, { ComponentPropsWithoutRef, forwardRef } from 'react'
@@ -177,15 +175,6 @@ export const MoreOptions = forwardRef<
href={`https://richelieu-manager.net/quest/${code}`}
target="_blank"
/>
-
- }
- text={t('Star project, support the author')}
- tagName="a"
- href={`https://github.com/lawvs/poi-plugin-quest-2`}
- target="_blank"
- />
)
return (