summaryrefslogtreecommitdiff
path: root/src/pages/my/address/index.jsx
blob: 61d72a41ad5d217333faecc45503ad7f8d139f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import AppLayout from '@/core/components/layouts/AppLayout'
import BasicLayout from '@/core/components/layouts/BasicLayout'
import DesktopView from '@/core/components/views/DesktopView'
import MobileView from '@/core/components/views/MobileView'
import AddressesComponent from '@/lib/address/components/Addresses'
import IsAuth from '@/lib/auth/components/IsAuth'

export default function Addresses() {
  return (
    <IsAuth>
      <MobileView>
        <AppLayout title='Daftar Alamat'>
          <AddressesComponent />
        </AppLayout>
      </MobileView>

      <DesktopView>
        <BasicLayout>
          <AddressesComponent />
        </BasicLayout>
      </DesktopView>
    </IsAuth>
  )
}