Skip to content

Commit

Permalink
Chore: Update tauri invoke import
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Whit3Wolf committed Apr 3, 2024
1 parent a65ecb3 commit 7878fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/next/src/components/greeting.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import { useEffect, useState } from "react"
import { invoke } from "@tauri-apps/api/tauri"
import { invoke } from "@tauri-apps/api/core"

export function Greeting() {
const [greetMsg, setGreetMsg] = useState("")
Expand Down
2 changes: 1 addition & 1 deletion templates/vite/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from "react"
import { invoke } from "@tauri-apps/api/tauri"
import { invoke } from "@tauri-apps/api/core"

import { Menu } from "@/components/menu"

Expand Down

0 comments on commit 7878fcc

Please sign in to comment.