mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 01:26:37 -04:00
move useMedia
hook here but without SSR warning
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { createContext, useCallback, useEffect, useState } from "react";
|
||||
import { useLocalStorage, useMedia } from "react-use";
|
||||
import { useLocalStorage } from "react-use";
|
||||
import { useMedia } from "../hooks/use-media";
|
||||
import { themeStorageKey } from "../lib/styles/stitches.config";
|
||||
import type { Context, PropsWithChildren } from "react";
|
||||
|
||||
|
Reference in New Issue
Block a user