From a7d9c1c1488a552b3e0647e1d435522d16ffb06f Mon Sep 17 00:00:00 2001 From: Felix Habib Date: Fri, 10 May 2024 09:57:03 +1000 Subject: [PATCH] Refactor --- src/Playroom/Toolbar/Toolbar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Playroom/Toolbar/Toolbar.tsx b/src/Playroom/Toolbar/Toolbar.tsx index fdffc7c1..54bd8d5e 100644 --- a/src/Playroom/Toolbar/Toolbar.tsx +++ b/src/Playroom/Toolbar/Toolbar.tsx @@ -26,6 +26,7 @@ interface Props { } export const toolbarItemCount = 5; +const ANIMATION_TIMEOUT = 300; export default ({ themes: allThemes, widths: allWidths, snippets }: Props) => { const [ @@ -155,7 +156,7 @@ export default ({ themes: allThemes, widths: allWidths, snippets }: Props) => {