style
This commit is contained in:
@@ -1246,6 +1246,11 @@ const AppLayout = () => {
|
||||
[handleRowSelection],
|
||||
);
|
||||
|
||||
const clearDocumentSelection = useCallback(() => {
|
||||
setFocusedRowKey(null);
|
||||
applySelection([], { anchor: null, interactedKeys: [] });
|
||||
}, [applySelection]);
|
||||
|
||||
const handleFolderRowClick = useCallback(
|
||||
(folderId, event) => {
|
||||
const rowKey = resolveFolderRowKey(folderId);
|
||||
@@ -4522,6 +4527,7 @@ const AppLayout = () => {
|
||||
onDocumentTagDrop: handleDocumentTagDrop,
|
||||
viewMode: documentsViewMode,
|
||||
onViewModeChange: handleDocumentsViewModeChange,
|
||||
onClearSelection: clearDocumentSelection,
|
||||
};
|
||||
|
||||
const detailPanelProps = {
|
||||
|
||||
Reference in New Issue
Block a user