refactor more hooks

This commit is contained in:
jake committed 2022-07-25 13:11:40 -04:00
1 parent 37feb305ff
commit cf106e46da
18 files changed
+246 -296

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { createContext, useCallback, useEffect, useState } from "react";
import { useLocalStorage } from "react-use";
import { useMedia } from "../hooks/use-media";
import useLocalStorage from "../hooks/useLocalStorage";
import useMedia from "../hooks/useMedia";
import { themeStorageKey } from "../lib/styles/stitches.config";
import type { Context, PropsWithChildren } from "react";