chore: fix frontend build

This commit is contained in:
Steven
2023-08-24 06:58:52 +08:00
parent f5817c575c
commit efc3815edf
14 changed files with 30 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
import { Button, IconButton, Input, Modal, ModalDialog } from "@mui/joy";
import { CreateShortcutResponse, OpenGraphMetadata, Visibility } from "@pbtypes/proto/api/v2/shortcut_service_pb";
import { useStorage } from "@plasmohq/storage/hook";
import axios from "axios";
import { useEffect, useState } from "react";
import { toast } from "react-hot-toast";
import { CreateShortcutResponse, OpenGraphMetadata, Visibility } from "../../../types/proto/api/v2/shortcut_service_pb";
import Icon from "./Icon";
const generateTempName = (length = 6) => {

View File

@@ -1,9 +1,9 @@
import { IconButton } from "@mui/joy";
import { ListShortcutsResponse } from "@pbtypes/proto/api/v2/shortcut_service_pb";
import { useStorage } from "@plasmohq/storage/hook";
import axios from "axios";
import { useEffect } from "react";
import { toast } from "react-hot-toast";
import { ListShortcutsResponse } from "../../../types/proto/api/v2/shortcut_service_pb";
import Icon from "./Icon";
const PullShortcutsButton = () => {

View File

@@ -1,4 +1,4 @@
import type { Shortcut } from "../../../types/proto/api/v2/shortcut_service_pb";
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
import { useStorage } from "@plasmohq/storage/hook";
import classNames from "classnames";
import { useEffect, useState } from "react";

View File

@@ -1,4 +1,4 @@
import type { Shortcut } from "../../../types/proto/api/v2/shortcut_service_pb";
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
import { useStorage } from "@plasmohq/storage/hook";
import classNames from "classnames";
import ShortcutView from "./ShortcutView";