mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: add loading state to tab elements (#415)
This commit is contained in:
parent
a6f2c332f8
commit
b4fb4b6143
@ -109,6 +109,7 @@ const Project = () => {
|
|||||||
return tabData.map((tab, index) => {
|
return tabData.map((tab, index) => {
|
||||||
return (
|
return (
|
||||||
<Tab
|
<Tab
|
||||||
|
data-loading
|
||||||
key={tab.title}
|
key={tab.title}
|
||||||
label={tab.title}
|
label={tab.title}
|
||||||
{...a11yProps(index)}
|
{...a11yProps(index)}
|
||||||
@ -143,7 +144,7 @@ const Project = () => {
|
|||||||
<Edit />
|
<Edit />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</h2>
|
</h2>
|
||||||
<p>{project?.description}</p>
|
<p data-loading>{project?.description}</p>
|
||||||
</div>
|
</div>
|
||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
condition={error}
|
condition={error}
|
||||||
|
Loading…
Reference in New Issue
Block a user