mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-03 08:38:42 -05:00
14 lines
296 B
TypeScript
14 lines
296 B
TypeScript
import { teamPage } from "~/utils/urls";
|
|
import { teamJoinSearchParams } from "./team-search-params";
|
|
|
|
export const joinTeamPage = ({
|
|
customUrl,
|
|
inviteCode,
|
|
}: {
|
|
customUrl: string;
|
|
inviteCode: string;
|
|
}) =>
|
|
teamJoinSearchParams.href(`${teamPage(customUrl)}/join`, {
|
|
code: inviteCode,
|
|
});
|