Skip to content

Commit

Permalink
#93 Fixing the build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
santthosh committed Jun 28, 2024
1 parent eb080e9 commit 0be0d51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/assistants/[id]/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export default function Settings() {
assistant.published ? assistant.published : false
);

const [authenticationRequired, setAuthenticationRequired] = useState(assistant.authenticatedUsersOnly);
const [authenticationRequired, setAuthenticationRequired] = useState(
assistant.authenticatedUsersOnly !== undefined ? assistant.authenticatedUsersOnly : true
);

const { push } = useRouter();

Expand Down

0 comments on commit 0be0d51

Please sign in to comment.