(param: string, value: string)
| 175 | }; |
| 176 | |
| 177 | const normalizeThemeParamValue = (param: string, value: string) => { |
| 178 | if (param === "theme" && value.includes("@")) { // the theme parameter might have @<URL-TO-THEME> in the value - strip this |
| 179 | return value.split("@")[0]; |
| 180 | } |
| 181 | |
| 182 | return value; |
| 183 | }; |
| 184 | |
| 185 | const applyURLParam = (key: string, value: string, paramType: string) => { |
| 186 | const lowerCaseValue = value.toLowerCase(); |
no outgoing calls
no test coverage detected
searching dependent graphs…