mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-05 17:30:48 +08:00
fixing eslint
This commit is contained in:
Generated
+18787
-7886
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
import { ArrowUpIcon, ArrowDownIcon } from "@heroicons/react/20/solid";
|
||||
import { ArrowDownIcon, ArrowUpIcon } from "@heroicons/react/20/solid";
|
||||
import { Button } from "@chakra-ui/react";
|
||||
import clsx from "clsx";
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Button, Input, Stack } from "@chakra-ui/react";
|
||||
import Head from "next/head";
|
||||
import { FaDiscord, FaEnvelope, FaGithub, FaBug } from "react-icons/fa";
|
||||
import { FaBug, FaDiscord, FaEnvelope, FaGithub } from "react-icons/fa";
|
||||
import { getCsrfToken, getProviders, signIn } from "next-auth/react";
|
||||
import React, { useRef } from "react";
|
||||
import Link from "next/link";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { extendTheme, type ThemeConfig } from "@chakra-ui/react";
|
||||
import { type ThemeConfig, extendTheme } from "@chakra-ui/react";
|
||||
import { containerTheme } from "./components/Container";
|
||||
import { Styles, mode } from "@chakra-ui/theme-tools";
|
||||
import { Styles } from "@chakra-ui/theme-tools";
|
||||
|
||||
const config: ThemeConfig = {
|
||||
initialColorMode: "light",
|
||||
|
||||
Reference in New Issue
Block a user