Skip to content

Commit

Permalink
Fix typescript build error
Browse files Browse the repository at this point in the history
  • Loading branch information
anagperal committed Aug 5, 2024
1 parent 82357d1 commit d27e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapp/hooks/useRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export enum RouteName {
DASHBOARD = "DASHBOARD",
}

const formTypes = ["disease-outbreak-event"] as const satisfies FormType[];
const formTypes: FormType[] = ["disease-outbreak-event"];

const formType = `:formType(${join(formTypes, "|")})` as const;

Expand Down

0 comments on commit d27e96b

Please sign in to comment.