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 (
|
||||
<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}
|
||||
|
Loading…
Reference in New Issue
Block a user