From d245d6380b6d92bc44c9d03e853dc03ceaac794d Mon Sep 17 00:00:00 2001 From: Plastikmensch Date: Sun, 3 Sep 2023 08:46:30 +0200 Subject: [PATCH] Add `recent` to search props (#2394) The new search popout requires the `recent` prop to be set, otherwise onboarding crashes with "recent is undefined" Signed-off-by: Plastikmensch --- .../flavours/glitch/features/ui/components/onboarding_modal.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.jsx b/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.jsx index 15a721ce23..5f93cd2514 100644 --- a/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.jsx +++ b/app/javascript/flavours/glitch/features/ui/components/onboarding_modal.jsx @@ -78,6 +78,7 @@ const PageThree = ({ myAccount }) => ( onSubmit={noop} onClear={noop} onShow={noop} + recent={{}} />