mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-07 11:17:38 +08:00
fixing eslint
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { Switch, useColorMode } from "@chakra-ui/react";
|
||||
import React from "react";
|
||||
|
||||
type Props = {};
|
||||
|
||||
const ColorModeSwitch = (props: Props) => {
|
||||
const ColorModeSwitch = () => {
|
||||
const { colorMode, toggleColorMode } = useColorMode();
|
||||
return (
|
||||
<Switch
|
||||
|
||||
Reference in New Issue
Block a user