mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
fix typo
This commit is contained in:
parent
2260c0c02b
commit
878e0007d9
3 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ import {
|
|||
DiscordDisplayType,
|
||||
getServerById,
|
||||
useAppStore,
|
||||
useDiscordSetttings,
|
||||
useDiscordSettings,
|
||||
useGeneralSettings,
|
||||
usePlayerStore,
|
||||
} from '/@/renderer/store';
|
||||
|
|
@ -17,7 +17,7 @@ import { PlayerStatus } from '/@/shared/types/types';
|
|||
const discordRpc = isElectron() ? window.api.discordRpc : null;
|
||||
|
||||
export const useDiscordRpc = () => {
|
||||
const discordSettings = useDiscordSetttings();
|
||||
const discordSettings = useDiscordSettings();
|
||||
const generalSettings = useGeneralSettings();
|
||||
const { privateMode } = useAppStore();
|
||||
const [lastUniqueId, setlastUniqueId] = useState('');
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import {
|
|||
} from '/@/renderer/features/settings/components/settings-section';
|
||||
import {
|
||||
DiscordDisplayType,
|
||||
useDiscordSetttings,
|
||||
useDiscordSettings,
|
||||
useGeneralSettings,
|
||||
useSettingsStoreActions,
|
||||
} from '/@/renderer/store';
|
||||
|
|
@ -17,7 +17,7 @@ import { TextInput } from '/@/shared/components/text-input/text-input';
|
|||
|
||||
export const DiscordSettings = () => {
|
||||
const { t } = useTranslation();
|
||||
const settings = useDiscordSetttings();
|
||||
const settings = useDiscordSettings();
|
||||
const generalSettings = useGeneralSettings();
|
||||
const { setSettings } = useSettingsStoreActions();
|
||||
|
||||
|
|
|
|||
|
|
@ -803,6 +803,6 @@ export const useRemoteSettings = () => useSettingsStore((state) => state.remote,
|
|||
|
||||
export const useFontSettings = () => useSettingsStore((state) => state.font, shallow);
|
||||
|
||||
export const useDiscordSetttings = () => useSettingsStore((state) => state.discord, shallow);
|
||||
export const useDiscordSettings = () => useSettingsStore((state) => state.discord, shallow);
|
||||
|
||||
export const useCssSettings = () => useSettingsStore((state) => state.css, shallow);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue