Skip to content

Commit

Permalink
fix: hot-fix creation flow update
Browse files Browse the repository at this point in the history
  • Loading branch information
sajald77 committed May 16, 2023
1 parent 9c676bf commit 1b0ec54
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/creation/projectCreate/ProjectCreate.tsx
Expand Up @@ -136,9 +136,8 @@ export const ProjectCreate = () => {

const handleNextButtonTapped = () => {
const isValid = validateForm()

if (data?.project && isValid) {
if (isEditingExistingProject) {
if (isValid) {
if (isEditingExistingProject && data?.project) {
updateProject({
variables: {
input: {
Expand Down

0 comments on commit 1b0ec54

Please sign in to comment.