fileHandle refactor & fixes (#2252)
This commit is contained in:
@ -59,8 +59,6 @@ export const actionClearCanvas = register({
|
||||
showAriaLabel={useIsMobile()}
|
||||
onClick={() => {
|
||||
if (window.confirm(t("alerts.clearReset"))) {
|
||||
// TODO: Make this part of `AppState`.
|
||||
(window as any).handle = null;
|
||||
updateData(null);
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user