Skip to content

Commit

Permalink
feat: migrate core module
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeselemon committed Dec 10, 2024
1 parent 0896518 commit 058fc77
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/components/page-components/proxy-list/add-new/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import {
QuestionMarkCircleIcon,
XMarkIcon,
} from "@heroicons/react/24/outline";
import { invoke } from "@tauri-apps/api";
import { message } from "@tauri-apps/plugin-dialog";
import { invoke } from "@tauri-apps/api/core";
import { appDataDir } from "@tauri-apps/api/path";
import { message } from "@tauri-apps/plugin-dialog";
import { Roboto_Mono } from "next/font/google";
import { Fragment, useCallback, useEffect, useRef, useState } from "react";
import RequestPasswordModal from "../request-certificate-trust";
Expand Down
22 changes: 11 additions & 11 deletions src/components/page-components/proxy-list/table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import { Button } from "@/components/ui/button";
import Code from "@/components/ui/code";
import {
Table,
TableBody,
TableCaption,
TableCell,
TableHead,
TableHeader,
TableRow,
Table,
TableBody,
TableCaption,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table";
import {
Tooltip,
TooltipContent,
TooltipTrigger,
Tooltip,
TooltipContent,
TooltipTrigger,
} from "@/components/ui/tooltip";
import { CertificateManager } from "@/helpers/certificate-manager";
import { IProxyData } from "@/helpers/proxy-manager/interfaces";
import { cn } from "@/lib/utils";
import proxyListStore from "@/stores/proxy-list";
import { PlusIcon } from "@heroicons/react/24/outline";
import { Label } from "@radix-ui/react-label";
import { invoke } from "@tauri-apps/api";
import { invoke } from "@tauri-apps/api/core";
import { appDataDir } from "@tauri-apps/api/path";
import { open as shellOpen } from "@tauri-apps/plugin-shell";
import { useCallback, useEffect, useState } from "react";
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-components/setup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SystemHelper } from "@/helpers/system";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import { ArrowRightIcon } from "@heroicons/react/24/outline";
import { invoke } from "@tauri-apps/api";
import { invoke } from "@tauri-apps/api/core";
import Link from "next/link";
import { useCallback, useEffect, useState } from "react";
import pkg from "../../../../package.json";
Expand Down
2 changes: 1 addition & 1 deletion src/components/test-components/password.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { invoke } from "@tauri-apps/api";
import { invoke } from "@tauri-apps/api/core";
import { Button } from "../ui/button";

export default function Test_PasswordComponent() {
Expand Down

0 comments on commit 058fc77

Please sign in to comment.