mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
migrate App.jsx to mountwithContext
This commit is contained in:
@@ -45,6 +45,12 @@ const defaultContexts = {
|
||||
push: () => {},
|
||||
replace: () => {},
|
||||
createHref: () => {},
|
||||
location: {
|
||||
hash: '',
|
||||
pathname: '',
|
||||
search: '',
|
||||
state: '',
|
||||
}
|
||||
},
|
||||
route: {
|
||||
location: {
|
||||
@@ -58,7 +64,7 @@ const defaultContexts = {
|
||||
isExact: false,
|
||||
path: '',
|
||||
url: '',
|
||||
},
|
||||
}
|
||||
},
|
||||
toJSON: () => '/router/',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user