Skip to content

Commit 09756fc

Browse files
committed
Ajustado teste do loading de desenvolvedores
1 parent 7ee3876 commit 09756fc

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

frontend/src/pages/Devs/index.js

+18-18
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export default function Challenges() {
3131

3232
return (
3333
<>
34-
<Header />
35-
{!loading && (
34+
<Header />
3635
<S.Container>
3736
<S.OptionsContainer>
3837
<a
@@ -91,23 +90,24 @@ export default function Challenges() {
9190
</S.Option>
9291
</a>
9392
</S.OptionsContainer>
94-
<S.DevsContainer>
95-
<h1>Últimas contribuições</h1>
96-
<S.Devs>
97-
{devs.map((dev) => (
98-
<DevCard
99-
key={dev._id}
100-
name={dev.name}
101-
position={dev.position}
102-
avatar={dev.avatar}
103-
github={dev.github}
104-
linkedin={dev.linkedin}
105-
/>
106-
))}
107-
</S.Devs>
108-
</S.DevsContainer>
93+
{!loading && (
94+
<S.DevsContainer>
95+
<h1>Últimas contribuições</h1>
96+
<S.Devs>
97+
{devs.map((dev) => (
98+
<DevCard
99+
key={dev._id}
100+
name={dev.name}
101+
position={dev.position}
102+
avatar={dev.avatar}
103+
github={dev.github}
104+
linkedin={dev.linkedin}
105+
/>
106+
))}
107+
</S.Devs>
108+
</S.DevsContainer>
109+
)}
109110
</S.Container>
110-
)}
111111
</>
112112
);
113113
}

0 commit comments

Comments
 (0)