fix: remove not functioning isCreateFlowError
This commit is contained in:
@@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user