diff --git a/frontend/web/components/pages/CreateOrganisationPage.tsx b/frontend/web/components/pages/CreateOrganisationPage.tsx index 3c47c7eb72ff..a2d860a05556 100644 --- a/frontend/web/components/pages/CreateOrganisationPage.tsx +++ b/frontend/web/components/pages/CreateOrganisationPage.tsx @@ -66,7 +66,7 @@ const CreateOrganisationPage: React.FC = () => { useEffect(() => { API.trackPage(Constants.pages.CREATE_ORGANISATION) focusTimeout.current = setTimeout(() => { - inputRef.current?.focus() + inputRef.current?.focus?.() focusTimeout.current = null }, 500)