mirror of
https://github.com/tinyauthapp/tinyauth.git
synced 2026-09-03 12:33:35 +08:00
chore: rabbit comments
This commit is contained in:
@@ -28,7 +28,7 @@ export function useScreenParams(params: URLSearchParams): ScreenParams {
|
||||
export function recompileScreenParams(params: ScreenParams): string {
|
||||
const p = new URLSearchParams(
|
||||
Object.fromEntries(
|
||||
Object.entries(params).filter(([, v]) => v !== null),
|
||||
Object.entries(params).filter(([, v]) => v != null),
|
||||
) as Record<string, string>,
|
||||
).toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user