feat(subscription): split vip and topup flows
This commit is contained in:
@@ -32,7 +32,7 @@ export const ROUTE_BUILDERS = {
|
||||
chatDeviceId: (deviceId: string): `/chat/deviceid/${string}` =>
|
||||
`/chat/deviceid/${encodeURIComponent(deviceId)}` as const,
|
||||
subscription: (
|
||||
type: "vip" | "voice",
|
||||
type: "vip" | "topup",
|
||||
options: { returnTo?: "chat" } = {},
|
||||
): `/subscription?${string}` => {
|
||||
const params = new URLSearchParams({ type });
|
||||
|
||||
Reference in New Issue
Block a user