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" />
|
||||
:
|
||||
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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user