mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
💡 comment
This commit is contained in:
@@ -38,7 +38,7 @@ export default function ProductUpdates({
|
||||
const t = useTranslations();
|
||||
const [showMoreUpdatesText, setShowMoreUpdatesText] = React.useState(false);
|
||||
|
||||
// we need to delay the initial
|
||||
// we delay the small text so that the user can notice it
|
||||
React.useEffect(() => {
|
||||
const timeout = setTimeout(() => setShowMoreUpdatesText(true), 600);
|
||||
return () => clearTimeout(timeout);
|
||||
|
||||
Reference in New Issue
Block a user