Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -17,7 +17,7 @@ export async function createClient() {
|
||||
cookiesToSet.forEach(({ name, value, options }) => {
|
||||
cookieStore.set(name, value, options)
|
||||
})
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// The `set` method was called from a Server Component.
|
||||
// This can be ignored if you have middleware refreshing
|
||||
// user sessions.
|
||||
|
||||
Reference in New Issue
Block a user