fix: home

Deskripsi:
- data kosong pada divisi home
- data kosong pada project home

No Issues
This commit is contained in:
amel
2025-06-16 17:28:15 +08:00
parent c71292d966
commit c5a3a80462
2 changed files with 65 additions and 59 deletions

View File

@@ -46,6 +46,7 @@ export default function DivisionHome() {
{
loading ? <Skeleton width={100} height={150} borderRadius={10} widthType="percent" />
:
data.length > 0 ?
<Carousel
ref={ref}
style={{ width: "100%" }}
@@ -67,6 +68,8 @@ export default function DivisionHome() {
</PaperGridContent>
)}
/>
:
<Text style={[Styles.textDefault, Styles.cGray, { textAlign: 'center' }]}>Tidak ada data</Text>
}
</View>

View File

@@ -49,6 +49,7 @@ export default function ProjectHome() {
{
loading ? (<Skeleton width={100} height={150} borderRadius={10} widthType="percent" />)
:
data.length > 0 ?
<Carousel
ref={ref}
style={{ width: "100%" }}
@@ -87,6 +88,8 @@ export default function ProjectHome() {
</PaperGridContent>
)}
/>
:
<Text style={[Styles.textDefault, Styles.cGray, { textAlign: 'center' }]}>Tidak ada data</Text>
}
</View>