mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
36 lines
924 B
TypeScript
36 lines
924 B
TypeScript
import { AuditLogs } from 'components/interfaces/Account'
|
|
import AccountLayout from 'components/layouts/AccountLayout/AccountLayout'
|
|
import { ScaffoldContainerLegacy } from 'components/layouts/Scaffold'
|
|
import { FormHeader } from 'components/ui/Forms/FormHeader'
|
|
import type { NextPageWithLayout } from 'types'
|
|
|
|
const User: NextPageWithLayout = () => {
|
|
return (
|
|
<ScaffoldContainerLegacy className="gap-0">
|
|
<div className="flex items-center justify-between">
|
|
<FormHeader
|
|
title="Account audit logs"
|
|
description="View the audit log trail of actions made from your account"
|
|
/>
|
|
</div>
|
|
<AuditLogs />
|
|
</ScaffoldContainerLegacy>
|
|
)
|
|
}
|
|
|
|
User.getLayout = (page) => (
|
|
<AccountLayout
|
|
title="Audit Logs"
|
|
breadcrumbs={[
|
|
{
|
|
key: `supabase-settings`,
|
|
label: 'Audit Logs',
|
|
},
|
|
]}
|
|
>
|
|
{page}
|
|
</AccountLayout>
|
|
)
|
|
|
|
export default User
|