Export diffdropdown

Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
This commit is contained in:
Tarik Gürsoy
2024-07-11 17:00:34 +02:00
parent 4b1052c8f6
commit 5d50e2fe05
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ export { default as copyToClipboard } from "./CopyToClipboard";
export { createA11yId } from "./createA11yId";
export { useSecondaryNavigation } from "./useSecondaryNavigation";
export { default as useScrollToElement } from "./useScrollToElement";
export { default as DiffDropDown } from "./repos/DiffDropDown";
export { default as comparators } from "./comparators";

View File

@@ -39,7 +39,7 @@ const DiffDropDown: FC<DiffDropDownProps> = ({ collapseDiffs, ignoreWhitespaces,
ignoreWhitespaces();
ignoreWhitespaces();
}
}, [ignoreWhitespaces, renderOnMount]);
}, []);
const handleOpen = () => {
setOpen(!isOpen);