Skip to content

Commit 32f2b67

Browse files
committed
Add ViewTransition on config editor open/close
1 parent 319a786 commit 32f2b67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler/apps/playground/components/Editor/EditorImpl.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ import BabelPluginReactCompiler, {
2424
printFunctionWithOutlined,
2525
type LoggerEvent,
2626
} from 'babel-plugin-react-compiler';
27-
import {useDeferredValue, useMemo} from 'react';
27+
import {
28+
useDeferredValue,
29+
useMemo,
30+
unstable_ViewTransition as ViewTransition,
31+
} from 'react';
2832
import {useStore} from '../StoreContext';
2933
import ConfigEditor from './ConfigEditor';
3034
import Input from './Input';

0 commit comments

Comments
 (0)