post messages from iframe
- fix user info opening - remove iframe height checks by interval - update height by mutation observer events - rename events
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** converts window.location.search into object */
|
||||
|
||||
export function parseQuery<T extends {}>(search: string = window.location.search): T {
|
||||
export function parseQuery<T extends Record<string, string>>(search: string = window.location.search): T {
|
||||
const params: { [key: string]: string } = {};
|
||||
new URLSearchParams(search).forEach((value: string, key: string) => {
|
||||
params[key] = value;
|
||||
|
||||
Reference in New Issue
Block a user