Skip to content

Commit

Permalink
style: remove layout animation
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Dec 5, 2023
1 parent 8c49453 commit efd6f99
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/category/category.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { motion } from 'framer-motion';

import { Sounds } from '@/components/sounds';
import { fade } from '@/lib/motion';

import styles from './category.module.css';

Expand All @@ -18,16 +17,8 @@ export function Category({
sounds,
title,
}: CategoryProps) {
const variants = fade();

return (
<motion.div
animate="show"
className={styles.category}
initial="hidden"
layout="position"
variants={variants}
>
<motion.div className={styles.category}>
<div className={styles.iconContainer}>
<div className={styles.tail} />
<div className={styles.icon}>{icon}</div>
Expand Down

0 comments on commit efd6f99

Please sign in to comment.