ExpiresCell() — supabase Function Reference
Architecture documentation for the ExpiresCell() function in TokenCells.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/Account/AccessTokens/AccessTokenTable/TokenCells.tsx lines 46–62
export const ExpiresCell = ({ expiresAt }: ExpiresCellProps) => (
<TableCell className="min-w-28 text-foreground-light">
{expiresAt ? (
dayjs(expiresAt).isBefore(dayjs()) ? (
<TimestampInfo utcTimestamp={expiresAt} label="Expired" className="text-sm" />
) : (
<TimestampInfo
utcTimestamp={expiresAt}
label={dayjs(expiresAt).format('DD MMM YYYY')}
className="text-sm"
/>
)
) : (
<p className="text-foreground-light text-sm">Never</p>
)}
</TableCell>
)
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free