fix: useEffect dependency

This commit is contained in:
vidvidvid
2022-02-02 11:57:48 +01:00
committed by Scott Stevenson
parent d27f4dc072
commit 2a65d00832

View File

@@ -45,7 +45,8 @@ export const WYSIWYGEditor: React.FC<Props> = ({
if (value != null && value.trim() !== '') {
def();
}
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
<Box>