1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 19:55:26 -04:00

move useMedia hook here but without SSR warning

This commit is contained in:
2022-07-24 22:41:02 -04:00
parent ac9a5dfcff
commit 37feb305ff
8 changed files with 201 additions and 131 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { useEffect, useId } from "react";
import { useFirstMountState, useMedia } from "react-use";
import { useSpring, animated, Globals } from "@react-spring/web";
import { useMedia } from "../../hooks/use-media";
import { useFirstMountState } from "../../hooks/use-first-mount-state";
import { useTheme } from "../../hooks/use-theme";
import { useHasMounted } from "../../hooks/use-has-mounted";
import { styled, theme } from "../../lib/styles/stitches.config";