fix: remove not functioning isCreateFlowError

This commit is contained in:
kasia.oczkowska
2025-03-28 09:26:44 +00:00
parent 1596493d1e
commit 8ea85d3d49

View File

@@ -13,7 +13,6 @@ export default function CreateFlow() {
const [searchParams] = useSearchParams();
const {
mutateAsync: createFlow,
isCreateFlowError,
isError,
isPending,
error,
@@ -37,10 +36,6 @@ export default function CreateFlow() {
initiate();
}, [createFlow, navigate, searchParams]);
if (isCreateFlowError) {
return null;
}
return (
<Box
sx={{