Skip to content

Commit 88f7772

Browse files
committed
chore: fix linting issues
1 parent 4c1e4d1 commit 88f7772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/cookies.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function setCookie(
5252
sameSite: options.sameSite || "strict",
5353
secure: options.secure ?? document.location.protocol === "https:",
5454
// If expires is not set, set it to -1 (the past), so the cookie is deleted immediately
55-
expires: !value ? -1 : options.expires ?? 0,
55+
expires: !value ? -1 : (options.expires ?? 0),
5656
domain: options.domain,
5757
};
5858

0 commit comments

Comments
 (0)