fix: home
Deskripsi: - data kosong pada divisi home - data kosong pada project home No Issues
This commit is contained in:
@@ -46,6 +46,7 @@ export default function DivisionHome() {
|
|||||||
{
|
{
|
||||||
loading ? <Skeleton width={100} height={150} borderRadius={10} widthType="percent" />
|
loading ? <Skeleton width={100} height={150} borderRadius={10} widthType="percent" />
|
||||||
:
|
:
|
||||||
|
data.length > 0 ?
|
||||||
<Carousel
|
<Carousel
|
||||||
ref={ref}
|
ref={ref}
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
@@ -67,6 +68,8 @@ export default function DivisionHome() {
|
|||||||
</PaperGridContent>
|
</PaperGridContent>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
:
|
||||||
|
<Text style={[Styles.textDefault, Styles.cGray, { textAlign: 'center' }]}>Tidak ada data</Text>
|
||||||
}
|
}
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ export default function ProjectHome() {
|
|||||||
{
|
{
|
||||||
loading ? (<Skeleton width={100} height={150} borderRadius={10} widthType="percent" />)
|
loading ? (<Skeleton width={100} height={150} borderRadius={10} widthType="percent" />)
|
||||||
:
|
:
|
||||||
|
data.length > 0 ?
|
||||||
<Carousel
|
<Carousel
|
||||||
ref={ref}
|
ref={ref}
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
@@ -87,6 +88,8 @@ export default function ProjectHome() {
|
|||||||
</PaperGridContent>
|
</PaperGridContent>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
:
|
||||||
|
<Text style={[Styles.textDefault, Styles.cGray, { textAlign: 'center' }]}>Tidak ada data</Text>
|
||||||
}
|
}
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user