1
0
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:
Youssef Khedher 2021-10-11 21:50:04 +01:00 committed by GitHub
parent a6f2c332f8
commit b4fb4b6143

View File

@ -109,6 +109,7 @@ const Project = () => {
return tabData.map((tab, index) => {
return (
<Tab
data-loading
key={tab.title}
label={tab.title}
{...a11yProps(index)}
@ -143,7 +144,7 @@ const Project = () => {
<Edit />
</IconButton>
</h2>
<p>{project?.description}</p>
<p data-loading>{project?.description}</p>
</div>
<ConditionallyRender
condition={error}