remove center on edit json

This commit is contained in:
Aykut Saraç 2022-03-29 13:31:59 +03:00
parent ef4f3d9ebf
commit 747947bc3b

View File

@ -59,7 +59,7 @@ export const LiveEditor: React.FC<{
React.useEffect(() => {
if (wrapperRef.current) wrapperRef.current?.resetTransform();
}, [json, wrapperRef]);
}, [wrapperRef]);
const zoomIn = (scale: number) => {
if (