mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
commit
f0855432cb
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class FormWrapper extends PureComponent {
|
|||
// displays the loading state if needed, and passes on loading and document/data
|
||||
const Loader = props => {
|
||||
const { document, loading } = props;
|
||||
return loading ?
|
||||
return (!document && loading) ?
|
||||
<Components.Loading /> :
|
||||
<Form
|
||||
document={document}
|
||||
|
|
Loading…
Add table
Reference in a new issue