fix: remove not functioning isCreateFlowError
This commit is contained in:
@@ -13,7 +13,6 @@ export default function CreateFlow() {
|
|||||||
const [searchParams] = useSearchParams();
|
const [searchParams] = useSearchParams();
|
||||||
const {
|
const {
|
||||||
mutateAsync: createFlow,
|
mutateAsync: createFlow,
|
||||||
isCreateFlowError,
|
|
||||||
isError,
|
isError,
|
||||||
isPending,
|
isPending,
|
||||||
error,
|
error,
|
||||||
@@ -37,10 +36,6 @@ export default function CreateFlow() {
|
|||||||
initiate();
|
initiate();
|
||||||
}, [createFlow, navigate, searchParams]);
|
}, [createFlow, navigate, searchParams]);
|
||||||
|
|
||||||
if (isCreateFlowError) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in New Issue
Block a user