mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-11 14:20:07 +08:00
fix(server): Remove block.loading.
This commit is contained in:
parent
36a3a85bb5
commit
09951094e1
@ -95,7 +95,6 @@ const AutoBlock = ({ block, makeCssClass, highlightBorders }) => {
|
||||
<Comp
|
||||
blockId={block.id + randomId()}
|
||||
content={content}
|
||||
loading={block.loading}
|
||||
makeCssClass={makeCssClass}
|
||||
properties={block.properties}
|
||||
/>
|
||||
@ -104,7 +103,6 @@ const AutoBlock = ({ block, makeCssClass, highlightBorders }) => {
|
||||
return (
|
||||
<Comp
|
||||
blockId={block.id + randomId()}
|
||||
loading={block.loading}
|
||||
makeCssClass={makeCssClass}
|
||||
properties={block.properties}
|
||||
/>
|
||||
@ -115,7 +113,7 @@ const AutoBlock = ({ block, makeCssClass, highlightBorders }) => {
|
||||
const BindAutoBlock = ({ block, state, makeCssClass, highlightBorders }) => {
|
||||
return (
|
||||
<ErrorBoundary>
|
||||
<Loading id={`${block.id}-loading`} loading={block.loading} showLoading>
|
||||
<Loading id={`${block.id}-loading`} showLoading>
|
||||
<BlockLayout
|
||||
id={`bl-${block.id}` + randomId()}
|
||||
highlightBorders={highlightBorders}
|
||||
|
@ -69,7 +69,6 @@ const CategorySwitch = ({ block, Blocks, context, lowdefy }) => {
|
||||
components={lowdefy._internal.components}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
@ -101,7 +100,6 @@ const CategorySwitch = ({ block, Blocks, context, lowdefy }) => {
|
||||
components={lowdefy._internal.components}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
@ -71,7 +71,6 @@ const Container = ({ block, Blocks, Component, context, lowdefy }) => {
|
||||
content={content}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
@ -78,7 +78,6 @@ const List = ({ block, Blocks, Component, context, lowdefy }) => {
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
list={contentList}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
@ -69,7 +69,6 @@ const CategorySwitch = ({ block, Blocks, context, lowdefy }) => {
|
||||
components={lowdefy._internal.components}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
@ -101,7 +100,6 @@ const CategorySwitch = ({ block, Blocks, context, lowdefy }) => {
|
||||
components={lowdefy._internal.components}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
@ -71,7 +71,6 @@ const Container = ({ block, Blocks, Component, context, lowdefy }) => {
|
||||
content={content}
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
@ -78,7 +78,6 @@ const List = ({ block, Blocks, Component, context, lowdefy }) => {
|
||||
events={block.eval.events}
|
||||
key={block.blockId}
|
||||
list={contentList}
|
||||
loading={block.loading}
|
||||
menus={lowdefy.menus}
|
||||
pageId={lowdefy.pageId}
|
||||
properties={block.eval.properties}
|
||||
|
Loading…
Reference in New Issue
Block a user