mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-19 21:00:40 +08:00
fixed ux problems
This commit is contained in:
parent
ff8a98f9f0
commit
82e3e43655
@ -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') {
|
||||
|
||||
@ -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(),
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user