Skip to content

Commit

Permalink
fix(mobile): fix creating init budget (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
duongdev authored Sep 8, 2024
1 parent 6ee5460 commit ea6849f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/mobile/app/onboarding/step-two.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ export function FormSubmitButton({
)
}

const budgetId = createId()
const periodId = createId()

export default function StepTwoScreen() {
const { i18n } = useLingui()
const defaultCurrency = useDefaultCurrency()
Expand All @@ -71,6 +68,9 @@ export default function StepTwoScreen() {
})

async function handleSubmit(data: OnboardBudgetFormValues) {
const budgetId = createId()
const periodId = createId()

await mutateAsync({
data: {
name: t(i18n)`Monthly budget`,
Expand Down

0 comments on commit ea6849f

Please sign in to comment.