You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tauri api package is not intended to be used in server side code, as in next.js or other SSR frameworks. If you must use an SSR frameworks, either guard the import in a client side code, by using await import or disable the SSR capabilites.
Describe the bug
error info:
the key code (react):
import { appWindow } from "@tauri-apps/api/window";
register(keys.join("+"), () => {
appWindow.show();
appWindow.setFocus();
});
useEffect(() => {
console.log("registerKey init", typeof window )
if(clientConfig?.isApp) {
registerKey(keyStore.get() || []);
}
});
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: