mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:46:31 +00:00
refactor: formformBlock provider
This commit is contained in:
parent
087a98fb91
commit
fc198621a6
@ -25,9 +25,9 @@ const InternalFormBlockProvider = (props) => {
|
||||
const { resource, service } = useBlockRequestContext();
|
||||
const formBlockRef = useRef();
|
||||
const record = useRecord();
|
||||
// if (service.loading) {
|
||||
// return <Spin />;
|
||||
// }
|
||||
if (service.loading) {
|
||||
return <Spin />;
|
||||
}
|
||||
return (
|
||||
<FormBlockContext.Provider
|
||||
value={{
|
||||
|
Loading…
Reference in New Issue
Block a user