mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Fix extra requests when creating WorkFlowJobTemplate
Fix extra requests when creating WorkFlowJobTemplate See: https://github.com/ansible/awx/issues/11442
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useEffect } from 'react';
|
||||
import { useEffect, useState } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
function AppendBody({ children }) {
|
||||
const el = document.createElement('div');
|
||||
const [el] = useState(document.createElement('div'));
|
||||
|
||||
useEffect(() => {
|
||||
document.body.appendChild(el);
|
||||
|
||||
Reference in New Issue
Block a user