mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Fix in app.jsx thanks to npm run lint
This commit is contained in:
parent
18a98e3ecb
commit
dedc41bfbf
@ -18,15 +18,6 @@ function isElectron() {
|
|||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
|
||||||
typeof process !== "undefined" &&
|
|
||||||
typeof process.versions === "object" &&
|
|
||||||
!!process.versions.electron
|
|
||||||
) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
typeof navigator === "object" &&
|
typeof navigator === "object" &&
|
||||||
typeof navigator.userAgent === "string" &&
|
typeof navigator.userAgent === "string" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user