mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-02 06:35:58 -04:00
json-ld improvements
This commit is contained in:
@@ -11,7 +11,7 @@ import styles from "./ThemeToggle.module.css";
|
||||
export type ThemeToggleProps = ComponentPropsWithoutRef<LucideIcon>;
|
||||
|
||||
const ThemeToggle = ({ className, ...rest }: ThemeToggleProps) => {
|
||||
const { theme, setTheme } = useTheme();
|
||||
const [theme, setTheme] = useTheme();
|
||||
|
||||
return (
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user