Skip to content

Commit

Permalink
Merge pull request #97 from assistants-hub/93_store
Browse files Browse the repository at this point in the history
#93 Fixing the bug with requires authentication
  • Loading branch information
santthosh authored Jun 28, 2024
2 parents a0aed45 + 0be0d51 commit 0e12b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/assistants/[id]/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Settings() {
);

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

const { push } = useRouter();
Expand Down

0 comments on commit 0e12b90

Please sign in to comment.