Skip to content

Commit aed9200

Browse files
fix(web): satisfy useConsistentArrowReturn in current-session
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
1 parent 5cf4f31 commit aed9200

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/lib/current-session.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ import { cache } from "react";
1616
* Route handlers that call the session once per request can keep calling
1717
* `auth.api.getSession` directly; caching changes nothing there.
1818
*/
19-
export const getCurrentSession = cache(async () => {
20-
return auth.api.getSession({ headers: await headers() });
21-
});
19+
export const getCurrentSession = cache(async () =>
20+
auth.api.getSession({ headers: await headers() })
21+
);

0 commit comments

Comments
 (0)