-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary logout Client Component
Since Next.js 13.4.6, calling `cookies().set()` in a Server Action invalidates the client cache: - vercel/next.js#42991 (comment) - PR vercel/next.js#51290 This means that we no longer need the Client Component, because we do not need to call router.refresh() anymore.
- Loading branch information
Showing
4 changed files
with
21 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters