mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Add search param parser
This commit is contained in:
@@ -4,3 +4,4 @@ export * from './set-local-storage-setttings';
|
||||
export * from './constrain-sidebar-width';
|
||||
export * from './title-case';
|
||||
export * from './get-header-color';
|
||||
export * from './parse-search-params';
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export const parseSearchParams = (searchParams: Record<any, any>) => {
|
||||
return JSON.parse(JSON.stringify(searchParams));
|
||||
};
|
||||
Reference in New Issue
Block a user