refactor(dev-only): file preview navigation from table view

This commit is contained in:
Aman Harwara
2022-12-24 16:58:46 +05:30
parent 77cb6e7891
commit 08985bb5c8
2 changed files with 1 additions and 4 deletions

View File

@@ -23,10 +23,6 @@ const FilePreviewModal: FunctionComponent<Props> = observer(({ application, view
return null
}
if (!application.isAuthorizedToRenderItem(currentFile)) {
return null
}
const [showFileInfoPanel, setShowFileInfoPanel] = useState(false)
const closeButtonRef = useRef<HTMLButtonElement>(null)