Skip to content

Commit

Permalink
user_identify atributos isNotEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
TI JONNY committed Apr 8, 2024
1 parent 7dd7090 commit ddd64c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Context/Aplication/state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const AplicationState = () => {
setproject(projects)

if (!GetIdProject()){
idProject(projects[0].id.toString())
idProject(projects[0]?.id.toString())
}
}
if (userRequest) {
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Classroom/ClassroomOne/MeetingList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const MeetingListPage = () => {
onClick={() => history(`/turma/${id}/encontros/criar`)}
/>
<Padding padding="16px" />
{props.meetings?.length ? <div className="grid">
{props?.meetings?.length! > 0 ? <div className="grid">
{props.meetings?.map((item, index) => {
return (
<div className="col-12 md:col-6 lg:col-4" key={index}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const RegistrationListPage = () => {
<Container>
<h2>{classroom?.name}</h2>
<Padding padding="16px" />
{classroom.length > 0 ? <div className="grid">
{props?.registrations?.length! > 0 ? <div className="grid">
{props.registrations?.map((item, index) => {
return (
<div className="col-12 md:col-6 lg:col-4" key={index}>
Expand Down

0 comments on commit ddd64c8

Please sign in to comment.