Skip to content

Commit

Permalink
fix: changed form counter
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Jan 24, 2025
1 parent 29c0f67 commit 7e65fec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/forms/OrganizationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface OrganizationFormProps {

const OrganizationForm = ({ organizations }: OrganizationFormProps) => {
const [showModal, setShowModal] = useState<boolean>(false);
const [currentStep, setCurrentStep] = useState<number>(5);
const [currentStep, setCurrentStep] = useState<number>(0);
const [locations, setLocations] = useState<Location[]>([]);
const [phones, setPhones] = useState<Phone[]>([]);
const [contacts, setContacts] = useState<Contact[]>([]);
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/ServiceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import HolidayScheduleForm from './HolidayScheduleForm';

const ServiceForm = () => {
const [showServiceModal, setShowServiceModal] = useState<boolean>(false);
const [currentStep, setCurrentStep] = useState<number>(8);
const [currentStep, setCurrentStep] = useState<number>(0);
const [organizations, setOrganizations] = useState<Organization[]>([]);
const [requiredDocuments, setRequiredDocuments] = useState<
RequiredDocument[]
Expand Down

0 comments on commit 7e65fec

Please sign in to comment.