Refactor editor to update better

This commit is contained in:
Gregory Schier
2023-03-10 10:39:23 -08:00
parent e9e3ba283c
commit 0b3497e5a1
15 changed files with 87 additions and 82 deletions

View File

@@ -10,7 +10,7 @@ import {
const appearanceQueryKey = ['theme', 'appearance'];
export default function useTheme() {
export function useTheme() {
const queryClient = useQueryClient();
const appearance = useQuery({
queryKey: appearanceQueryKey,