Remove left-over ToDo comment

This commit is contained in:
Thomas Steiner
2021-03-08 17:47:01 +01:00
committed by GitHub
parent beffc290fd
commit 1f7f07fbfb

View File

@ -3563,7 +3563,6 @@ class App extends React.Component<ExcalidrawProps, AppState> {
// This will only work as of Chrome 86,
// but can be safely ignored on older releases.
const item = event.dataTransfer.items[0];
// TODO: Make this part of `AppState`.
(file as any).handle = await (item as any).getAsFileSystemHandle();
} catch (error) {
console.warn(error.name, error.message);