feat(i18n): localize submit button states
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import { getI18n } from "@/i18n/server"
|
||||
|
||||
import NewUserForm from "../_components/new.user.form"
|
||||
|
||||
export default function NewUserPage() {
|
||||
export default async function NewUserPage() {
|
||||
const { dictionary } = await getI18n()
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4">
|
||||
<div className="flex items-center justify-between gap-4">
|
||||
<h1 className="text-2xl font-bold">New User</h1>
|
||||
</div>
|
||||
<NewUserForm />
|
||||
<NewUserForm submitButtonCopy={dictionary.common.submitButton} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user