Skip to content

Commit

Permalink
removed layout ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen-Gordon committed Mar 28, 2024
1 parent 091b01e commit 38f0c41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/app/components/activity/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ export default function Activity() {
<>
{transactionState?.length > 0 ? (
<motion.div

layoutId='activity'
transition={{ duration: 0.4 }}
className='from-background to bg-accent/80 w-full rounded-2xl bg-gradient-to-br backdrop-blur-xl '
>
Expand Down
9 changes: 4 additions & 5 deletions src/app/tx/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,10 @@ export default function Page() {
<>
{!isLoading && (
<motion.div
key={hash}
layoutId={hash}
animate={{
transition: { duration: 0.5, ease: [0.76, 0, 0.24, 1] },
}}
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.4 }}
style={{
width: '100vw',
height: '100vh',
Expand Down

0 comments on commit 38f0c41

Please sign in to comment.