hotfix: customUrl effect is preventing redirects, add check (#13742)
This commit is contained in:
parent
791fb17437
commit
ed82bf70f5
|
@ -143,7 +143,7 @@ export function ClusterProvider({ children }: ClusterProviderProps) {
|
|||
|
||||
// Remove customUrl param if dev setting is disabled
|
||||
React.useEffect(() => {
|
||||
if (!enableCustomUrl) {
|
||||
if (!enableCustomUrl && query.has("customUrl")) {
|
||||
query.delete("customUrl");
|
||||
history.push({ ...location, search: query.toString() });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue