5 lines
139 B
TypeScript
5 lines
139 B
TypeScript
import { cache } from 'react';
|
|
import { auth } from '@/auth/server';
|
|
|
|
export const authCachedSafe = cache(() => auth().catch(() => null));
|