1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:01:19 -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

View File

@@ -1,6 +1,6 @@
import { useState } from "react";
import { TwitterTweetEmbed } from "react-twitter-embed";
import { useUpdateEffect } from "react-use";
import { useUpdateEffect } from "../../hooks/use-update-effect";
import { useTheme } from "../../hooks/use-theme";
import { styled } from "../../lib/styles/stitches.config";