mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Improve loading animation when switching release details (#2367)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
79f251b4d7
commit
36e8888ecb
10 files changed
+166
-70
No files matched your search
@@ -41,3 +41,11 @@ export function buildURL<P extends object = {}, Q extends object = {}>(path: str
|
||||
return parts.filter(Boolean).join("");
|
||||
};
|
||||
}
|
||||
|
||||
export function buildURLPositional<P extends object = {}, Q extends object = {}>(path: string | any) {
|
||||
const builder = buildURL(path);
|
||||
|
||||
return function(params?: P, query?: Q, fragment?: string): string {
|
||||
return builder({ params, query, fragment });
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user