chore: tweak store imports

This commit is contained in:
Steven
2024-04-07 21:23:14 +08:00
parent 5264dc9d8a
commit b7484363dc
9 changed files with 20 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ import { Button, IconButton, Input, Modal, ModalDialog } from "@mui/joy";
import { useEffect, useState } from "react";
import { toast } from "react-hot-toast";
import { useStorageContext } from "@/context";
import useShortcutStore from "@/store/shortcut";
import { useShortcutStore } from "@/stores";
import type { Visibility } from "@/types/proto/api/v1/common";
import { Shortcut } from "@/types/proto/api/v1/shortcut_service";
import Icon from "./Icon";

View File

@@ -2,7 +2,7 @@ import { IconButton } from "@mui/joy";
import { useEffect } from "react";
import { toast } from "react-hot-toast";
import { useStorageContext } from "@/context";
import useShortcutStore from "@/store/shortcut";
import { useShortcutStore } from "@/stores";
import Icon from "./Icon";
const PullShortcutsButton = () => {

View File

@@ -1,5 +1,5 @@
import classNames from "classnames";
import useShortcutStore from "@/store/shortcut";
import { useShortcutStore } from "@/stores";
import Icon from "./Icon";
import ShortcutView from "./ShortcutView";