Skip to content

Commit

Permalink
Remove debug stuff again
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Dec 30, 2024
1 parent c7c4b82 commit 4a165f0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions site/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ const Features = () => (
export default function Home() {
const [position, setPosition] = useState<ToastPosition>('top-center');
const [reverse, setReverse] = useState(false);
const { toasts: allToasts } = useToasterStore({
removeDelay: 2,
});
const { toasts: allToasts } = useToasterStore();

const shouldFade =
allToasts.filter((t) => t.visible).length && position.includes('top');
Expand Down Expand Up @@ -242,11 +240,7 @@ export default function Home() {
</div>
</header>
<SplitbeeCounter />
<Toaster
position={position}
reverseOrder={reverse}
toastOptions={{ removeDelay: 10, style: { padding: 0 } }}
/>
<Toaster position={position} reverseOrder={reverse} toastOptions={{}} />
<div className="container flex justify-end -mt-10 pointer-events-none">
<Butter2 className="transform translate-x-20" />
</div>
Expand Down

0 comments on commit 4a165f0

Please sign in to comment.