Revert "Unify workspace dropdowns; Update layouts (#458)"

This reverts commit 4bc8448a1d.
This commit is contained in:
gbuomprisco
2026-03-11 14:47:47 +08:00
parent 4bc8448a1d
commit 4912e402a3
530 changed files with 11182 additions and 14382 deletions

View File

@@ -126,7 +126,7 @@ export function CreateEntityForm() {
reValidateMode: 'onChange',
});
const onSubmit = (data: z.output<typeof CreateEntitySchema>) => {
const onSubmit = (data: z.infer<typeof CreateEntitySchema>) => {
setError(false);
startTransition(async () => {
@@ -147,7 +147,7 @@ export function CreateEntityForm() {
<If condition={error}>
<Alert variant="destructive">
<AlertDescription>
<Trans i18nKey="common.errors.generic" />
<Trans i18nKey="common:errors.generic" />
</AlertDescription>
</Alert>
</If>
@@ -177,9 +177,9 @@ export function CreateEntityForm() {
data-test="submit-entity-button"
>
{pending ? (
<Trans i18nKey="common.creating" />
<Trans i18nKey="common:creating" />
) : (
<Trans i18nKey="common.create" />
<Trans i18nKey="common:create" />
)}
</Button>
</Form>