fix(ui): disable awkward resize animation for <Flow />

This commit is contained in:
psychedelicious 2023-08-16 18:29:26 +10:00
parent 70b8c3dfea
commit f7c92e1eff

View File

@ -46,7 +46,6 @@ const NodeEditor = () => {
<AnimatePresence> <AnimatePresence>
{isReady && ( {isReady && (
<motion.div <motion.div
layoutId="node-editor-flow"
initial={{ initial={{
opacity: 0, opacity: 0,
}} }}
@ -67,7 +66,6 @@ const NodeEditor = () => {
<AnimatePresence> <AnimatePresence>
{!isReady && ( {!isReady && (
<motion.div <motion.div
layoutId="node-editor-loading"
initial={{ initial={{
opacity: 0, opacity: 0,
}} }}