Skip to content

Commit 4bee875

Browse files
authored
build(packages/features): resolved type error when building apps/web. (#21094)
1 parent fe4ae3a commit 4bee875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/features/ee/teams/components/TeamsListing.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function TeamsListing({
3131
errorMsgFromInvite,
3232
}: TeamsListingProps) {
3333
const searchParams = useSearchParams();
34-
const token = searchParams.get("token");
34+
const token = searchParams?.get("token");
3535
const { t } = useLocale();
3636
const router = useRouter();
3737

0 commit comments

Comments
 (0)