Perf: Optimize event-types page (#2436)

* Perf: Optimize event-types page

* Memoize layout in Shell

* setQueryState without awaiting mutate for optimistic update

* Update Shell.tsx

* Fix types

* Update auth-index.test.ts

Co-authored-by: zomars <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-04-14 21:49:51 +00:00
1 parent 3c6ac395cc
commit 699d910ab4
6 files changed
+203 -129

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { expect, test } from "@playwright/test";
import { BASE_URL } from "@lib/config/constants";
import { WEBAPP_URL } from "@lib/config/constants";
import prisma from "@lib/prisma";
import { todo } from "../lib/testUtils";
@@ -40,7 +40,7 @@ test.describe("Can signup from a team invite", async () => {
select: { token: true },
});
token = tokenObj?.token;
signupFromInviteURL = `/auth/signup?token=${token}&callbackUrl=${BASE_URL}/settings/teams`;
signupFromInviteURL = `/auth/signup?token=${token}&callbackUrl=${WEBAPP_URL}/settings/teams`;
});
test.afterAll(async () => {