Skip to content

Commit

Permalink
70 disable navigation to next page if not filled in fully (#83)
Browse files Browse the repository at this point in the history
* unable to use the progression bar until all questions have been answered.

* fix of a bug where the completed bool was true while answers still needed to be answered

* fix of lint and typecheck
  • Loading branch information
JurreBrandsenInfoSupport authored Apr 5, 2024
1 parent d917c45 commit edd7a7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Slot } from "@radix-ui/react-slot";
import { cva, type VariantProps } from "class-variance-authority";

import { cn } from "~/lib/utils";
import type { ReactNode } from "react";

const buttonVariants = cva(
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
Expand Down
1 change: 1 addition & 0 deletions src/utils/role-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function generateRolesWithHref(
current: false,
completed: false,
started: false,
currentCompleted: false,
}));

return availableRoles;
Expand Down

0 comments on commit edd7a7a

Please sign in to comment.