fix: hide desktop local backup entry
This commit is contained in:
1 parent
f6f22c0817
commit
8e36fedcbf
1 file changed
-3
@@ -26,10 +26,8 @@ import { PreferenceCard } from "./settings/PreferenceCard";
|
||||
import { PasswordCard } from "./settings/PasswordCard";
|
||||
import { SessionCard } from "./settings/SessionCard";
|
||||
import { UserManagementCard } from "./settings/UserManagementCard";
|
||||
import { DesktopLocalBackupCard } from "./settings/DesktopLocalBackupCard";
|
||||
import { ThemeToggle } from "./ThemeToggle";
|
||||
import type { AuthUser } from "@edgeever/shared";
|
||||
import { isNativeDesktopRuntime } from "@/lib/runtime";
|
||||
|
||||
interface SettingsPaneProps {
|
||||
onClose: () => void;
|
||||
@@ -198,7 +196,6 @@ export const SettingsPane = ({
|
||||
return (
|
||||
<SettingsGroup>
|
||||
<DataExportCard />
|
||||
{isNativeDesktopRuntime() ? <DesktopLocalBackupCard /> : null}
|
||||
<EvernoteImportGuideCard />
|
||||
</SettingsGroup>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user