Skip to content

Commit

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

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

const { push } = useRouter();

Expand Down

0 comments on commit eb080e9

Please sign in to comment.