An opinionated toast component for React.
Fix active type in other section
fdsafscf8f2509531c
diff --git a/website/src/components/Other/Other.tsx b/website/src/components/Other/Other.tsxindex 51cb4af..4211813 100644--- a/website/src/components/Other/Other.tsx+++ b/website/src/components/Other/Other.tsx@@ -71,7 +71,7 @@ export const Other = ({[setRichColors],);- const [activeType, setActiveType] = React.useState({} as (typeof allTypes)[0]);+ const [activeType, setActiveType] = React.useState(allTypes[0]);const richColorsActive = activeType?.name?.includes('Rich');const closeButtonActive = activeType?.name?.includes('Close');