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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user