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