fixed ux problems

This commit is contained in:
Zai Shi 2024-05-16 16:09:01 +02:00
parent ff8a98f9f0
commit 82e3e43655
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ export function SidebarContent({ projectId, onNavigate }: { projectId: string, o
<div className="flex flex-col gap-1 pt-2">
{navigationItems.map((item, index) => {
if (item.type === 'label') {
return <Typography key={index} className="pl-2 my-1" type="label" variant="secondary">
return <Typography key={index} className="pl-2 mt-3" type="label" variant="secondary">
{item.name}
</Typography>;
} else if (item.type === 'item') {

View File

@ -46,7 +46,7 @@ function userToolbarRender<TData>(table: Table<TData>) {
const userEditFormSchema = yup.object({
displayName: yup.string(),
primaryEmail: yup.string().email(),
primaryEmail: yup.string().email("Primary Email must be a valid email address"),
signedUpAt: yup.date().required(),
primaryEmailVerified: yup.boolean().required(),
});