push to websites on login, css fix for teams screens

This commit is contained in:
Francis Cao 2025-09-19 11:32:20 -07:00
parent 1c7f9da320
commit 5767208d8c
4 changed files with 6 additions and 3 deletions

View file

@ -38,7 +38,7 @@ export function TeamMembersTable({
}
return (
<Row alignItems="center">
<Row alignItems="center" maxHeight="20px">
<TeamMemberEditButton teamId={teamId} userId={row?.user?.id} role={row?.role} />
<TeamMemberRemoveButton
teamId={teamId}

View file

@ -34,7 +34,7 @@ export function TeamSettings({ teamId }: { teamId: string }) {
user.role !== ROLES.viewOnly);
return (
<Column gap="6">
<Column gap="6" margin="2">
<PageHeader title={team?.name} icon={<Users />}>
{!isTeamOwner && !isAdmin && <TeamLeaveButton teamId={team.id} teamName={team.name} />}
</PageHeader>

View file

@ -41,6 +41,9 @@ export async function GET(request: Request, { params }: { params: Promise<{ team
},
},
},
orderBy: {
createdAt: 'asc',
},
},
filters,
);

View file

@ -26,7 +26,7 @@ export function LoginForm() {
setClientAuthToken(token);
setUser(user);
router.push('/dashboard');
router.push('/websites');
},
});
};