Skip to content

Commit

Permalink
Move: frontconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Oct 27, 2023
1 parent dcc3905 commit bf2d65a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SwitchItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import classNames from "classnames";
import { useCallback, useEffect, useState } from "react";

import { WebSites } from "../class";
import { FrontConfig } from "../popup/config";
import IsTrue from "../utils/isTrue";
import { FrontConfig } from "./config";

export function SwitchItem({ config, className }: { config: FrontConfig; className?: string }) {
const [enabled, setEnabled] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Switches.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FrontConfigs } from "../popup/config";
import { FrontConfigs } from "./config";
import { SwitchItem } from "./SwitchItem";

export function Switches({ className }: { className?: string }) {
Expand Down
File renamed without changes.
Empty file added src/lib/index.tsx
Empty file.
2 changes: 1 addition & 1 deletion src/popup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createRoot } from "react-dom/client";
import Layout from "./components/Layout";

function Popup() {
return <Layout></Layout>;
return <Layout />;
}

const rootElement = document.getElementById("popup-root");
Expand Down

0 comments on commit bf2d65a

Please sign in to comment.