mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 11:07:04 +00:00
feat(ui): guard desktop-only actions with a clear browser-preview message
This commit is contained in:
1 parent
f8ddde5e91
commit
5e1582fc39
3 files changed
+20
-4
No files matched your search
@@ -1,5 +1,7 @@
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
|
||||
export const isDesktop = typeof window !== "undefined" && "__TAURI_INTERNALS__" in window;
|
||||
|
||||
export interface ImageInput {
|
||||
path: string;
|
||||
data: string;
|
||||
|
||||
Reference in new issue
Block a user