minor visual improvements

This commit is contained in:
Milo Schwartz
2025-01-03 22:32:24 -05:00
parent c857a9bd76
commit 0e99e2b62b
17 changed files with 285 additions and 270 deletions

View File

@@ -84,7 +84,7 @@ export default function GeneralPage() {
const res = await api.get<AxiosResponse<ListOrgsResponse>>(
`/orgs`
);
if (res.status === 200) {
if (res.data.data.orgs.length > 0) {
const orgId = res.data.data.orgs[0].orgId;