Fix pretty errors.
This commit is contained in:
@@ -68,7 +68,6 @@ export default function Home() {
|
|||||||
</VStack>
|
</VStack>
|
||||||
|
|
||||||
<VStack spaceY={6} w="80vw">
|
<VStack spaceY={6} w="80vw">
|
||||||
|
|
||||||
<Heading
|
<Heading
|
||||||
as="h2"
|
as="h2"
|
||||||
color="cyan"
|
color="cyan"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { ThemeProviderProps } from "next-themes";
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { LuMoon, LuSun } from "react-icons/lu";
|
import { LuMoon, LuSun } from "react-icons/lu";
|
||||||
|
|
||||||
export interface ColorModeProviderProps extends ThemeProviderProps { }
|
export interface ColorModeProviderProps extends ThemeProviderProps {}
|
||||||
|
|
||||||
export function ColorModeProvider(props: ColorModeProviderProps) {
|
export function ColorModeProvider(props: ColorModeProviderProps) {
|
||||||
return (
|
return (
|
||||||
@@ -49,7 +49,7 @@ export function ColorModeIcon() {
|
|||||||
return colorMode === "dark" ? <LuMoon /> : <LuSun />;
|
return colorMode === "dark" ? <LuMoon /> : <LuSun />;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ColorModeButtonProps extends Omit<IconButtonProps, "aria-label"> { }
|
interface ColorModeButtonProps extends Omit<IconButtonProps, "aria-label"> {}
|
||||||
|
|
||||||
export const ColorModeButton = React.forwardRef<
|
export const ColorModeButton = React.forwardRef<
|
||||||
HTMLButtonElement,
|
HTMLButtonElement,
|
||||||
|
|||||||
Reference in New Issue
Block a user