Style fix
This commit is contained in:
@@ -12,10 +12,9 @@ import {
|
||||
Text,
|
||||
Tooltip,
|
||||
} from '@mantine/core';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import { useCommonHooks, useMutationAPI, useQueryAPI } from 'hooks';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { FaDice, FaSync } from 'react-icons/fa';
|
||||
import { FaDice } from 'react-icons/fa';
|
||||
import { FiMenu, FiPower, FiSettings, FiShuffle } from 'react-icons/fi';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import {
|
||||
@@ -79,12 +78,6 @@ function SettingsButton() {
|
||||
});
|
||||
};
|
||||
|
||||
const queryClient = useQueryClient();
|
||||
|
||||
const handleRefresh = () => {
|
||||
queryClient.refetchQueries();
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (appCategoryData) {
|
||||
const list: [any] = appCategoryData.map((category: AppCategory) => {
|
||||
@@ -477,14 +470,6 @@ function SettingsButton() {
|
||||
>
|
||||
Settings
|
||||
</Button>
|
||||
<Button
|
||||
leftSection={<FaSync />}
|
||||
onClick={handleRefresh}
|
||||
className={buttonClasses.settingsMenuButton}
|
||||
classNames={buttonClasses}
|
||||
>
|
||||
Refresh
|
||||
</Button>
|
||||
</Group>
|
||||
</Menu.Dropdown>
|
||||
</Menu>
|
||||
|
||||
@@ -23,11 +23,7 @@ export default function ThemeModalContent({ selectedTheme }: { selectedTheme: Th
|
||||
paddingTop: '15px',
|
||||
}}
|
||||
>
|
||||
<FiCheck
|
||||
style={{ color: 'var(--mantine-color-primary-0)' }}
|
||||
height={32}
|
||||
width={32}
|
||||
/>
|
||||
<FiCheck style={{ color: selectedTheme.primaryColor }} height={32} width={32} />
|
||||
</Stack>
|
||||
<Stack
|
||||
style={{
|
||||
@@ -44,7 +40,7 @@ export default function ThemeModalContent({ selectedTheme }: { selectedTheme: Th
|
||||
fontWeight: 400,
|
||||
fontSize: 11,
|
||||
fontStyle: 'normal',
|
||||
color: 'var(--mantine-color-primary-0)',
|
||||
color: selectedTheme.primaryColor,
|
||||
fontFamily:
|
||||
'-apple-system, Jost, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif !important',
|
||||
margin: 0,
|
||||
@@ -57,7 +53,7 @@ export default function ThemeModalContent({ selectedTheme }: { selectedTheme: Th
|
||||
fontWeight: 400,
|
||||
fontSize: 11,
|
||||
fontStyle: 'italic',
|
||||
color: 'var(--mantine-color-accent-0)',
|
||||
color: selectedTheme.accentColor,
|
||||
fontFamily:
|
||||
'-apple-system, Jost, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif !important',
|
||||
margin: 0,
|
||||
|
||||
Reference in New Issue
Block a user