chore: upgrade frontend deps

This commit is contained in:
Steven
2023-10-31 08:35:32 +08:00
parent 5b2a8394d7
commit 898ca70ad1
9 changed files with 1100 additions and 1074 deletions

View File

@ -1,5 +1,5 @@
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import { Storage } from "@plasmohq/storage";
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
const storage = new Storage();
const urlRegex = /https?:\/\/s\/(.+)/;

View File

@ -1,7 +1,7 @@
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import { useStorage } from "@plasmohq/storage/hook";
import classNames from "classnames";
import { getFaviconWithGoogleS2 } from "@/helpers/utils";
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import Icon from "./Icon";
interface Props {

View File

@ -1,6 +1,6 @@
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import { useStorage } from "@plasmohq/storage/hook";
import classNames from "classnames";
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import ShortcutView from "./ShortcutView";
const ShortcutsContainer = () => {

View File

@ -1,8 +1,8 @@
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import { Button, CssVarsProvider, Divider, Input, Select, Option } from "@mui/joy";
import { useStorage } from "@plasmohq/storage/hook";
import { useEffect, useState } from "react";
import { Toaster, toast } from "react-hot-toast";
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import Icon from "./components/Icon";
import Logo from "./components/Logo";
import PullShortcutsButton from "./components/PullShortcutsButton";

View File

@ -1,4 +1,3 @@
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import { Button, CssVarsProvider, Divider, IconButton } from "@mui/joy";
import { useStorage } from "@plasmohq/storage/hook";
import { Toaster } from "react-hot-toast";
@ -7,6 +6,7 @@ import Icon from "@/components/Icon";
import Logo from "@/components/Logo";
import PullShortcutsButton from "@/components/PullShortcutsButton";
import ShortcutsContainer from "@/components/ShortcutsContainer";
import type { Shortcut } from "@/types/proto/api/v2/shortcut_service";
import useColorTheme from "./hooks/useColorTheme";
import "./style.css";