mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Update browser-fs-access to use new supported export (#3303)
* Use new exported supported * Bump to v0.15.3
This commit is contained in:
parent
78f3a92dd1
commit
f7e17a28fa
4 changed files with 9988 additions and 9344 deletions
|
@ -11,6 +11,7 @@ import { t } from "../i18n";
|
|||
import useIsMobile from "../is-mobile";
|
||||
import { KEYS } from "../keys";
|
||||
import { register } from "./register";
|
||||
import { supported } from "browser-fs-access";
|
||||
|
||||
export const actionChangeProjectName = register({
|
||||
name: "changeProjectName",
|
||||
|
@ -164,9 +165,7 @@ export const actionSaveAsScene = register({
|
|||
title={t("buttons.saveAs")}
|
||||
aria-label={t("buttons.saveAs")}
|
||||
showAriaLabel={useIsMobile()}
|
||||
hidden={
|
||||
!("chooseFileSystemEntries" in window || "showOpenFilePicker" in window)
|
||||
}
|
||||
hidden={!supported}
|
||||
onClick={() => updateData(null)}
|
||||
/>
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue