Refactor editor to update better

This commit is contained in:
Gregory Schier
2023-03-10 10:39:23 -08:00
parent 0b94b57e2a
commit bf37499428
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,