migrate: v2 basically working
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
isRegistered,
|
||||
register,
|
||||
unregister,
|
||||
} from "@tauri-apps/api/globalShortcut"
|
||||
} from "@tauri-apps/plugin-global-shortcut"
|
||||
import { useEffect } from "react"
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Card } from "@/components/Card"
|
||||
import { CardButton } from "@/components/CardButton"
|
||||
import { useGlobalShortcut } from "@/hooks/tauri/shortcuts"
|
||||
import { invoke } from "@tauri-apps/api/tauri"
|
||||
import { invoke } from "@tauri-apps/api/core"
|
||||
import type { NextPage } from "next"
|
||||
import Head from "next/head"
|
||||
import Image from "next/image"
|
||||
|
||||
@@ -8,6 +8,7 @@ body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu,
|
||||
Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
Reference in New Issue
Block a user