mirror of
https://github.com/ansible/awx.git
synced 2026-02-03 10:38:15 -03:30
and index.jsx tests
This commit is contained in:
@@ -11,9 +11,15 @@ import './app.scss';
|
||||
|
||||
const el = document.getElementById('app');
|
||||
|
||||
api.getRoot()
|
||||
.then(({ data }) => {
|
||||
const { custom_logo, custom_login_info } = data;
|
||||
const main = () => {
|
||||
api.getRoot()
|
||||
.then(({ data }) => {
|
||||
const { custom_logo, custom_login_info } = data;
|
||||
|
||||
render(<App logo={custom_logo} loginInfo={custom_login_info} />, el);
|
||||
});
|
||||
render(<App logo={custom_logo} loginInfo={custom_login_info} />, el);
|
||||
});
|
||||
};
|
||||
|
||||
main();
|
||||
|
||||
export default main;
|
||||
|
||||
Reference in New Issue
Block a user