♻️ Refactor and remove React.FC (#1139)

This commit is contained in:
Alejandra
2024-03-28 20:22:28 -05:00
committed by GitHub
parent 802eeeadc9
commit 6874db48b0
17 changed files with 31 additions and 45 deletions

View File

@@ -7,9 +7,8 @@ import {
Stack,
useColorMode,
} from "@chakra-ui/react"
import type React from "react"
const Appearance: React.FC = () => {
const Appearance = () => {
const { colorMode, toggleColorMode } = useColorMode()
return (