1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 01:01:17 -04:00

fork next-themes into use-theme hook

This commit is contained in:
2022-03-07 16:13:55 -05:00
parent 2e1da44d42
commit a917b5f81d
9 changed files with 292 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
import { memo } from "react";
import Head from "next/head";
import { useTheme } from "next-themes";
import HCaptcha from "@hcaptcha/react-hcaptcha";
import { useTheme } from "../../hooks/use-theme";
export type CaptchaProps = {
size?: "normal" | "compact" | "invisible";