summaryrefslogtreecommitdiff
path: root/src/pages/my/transactions/index.jsx
blob: 91482a39ba18280c674fea5cc80331a849044521 (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
25
26
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 IsAuth from '@/lib/auth/components/IsAuth'
import dynamic from 'next/dynamic'

const TransactionsComponent = dynamic(() => import('@/lib/transaction/components/Transactions'))

export default function MyTransactions() {
  return (
    <IsAuth>
      <MobileView>
        <AppLayout title='Transaksi'>
          <TransactionsComponent />
        </AppLayout>
      </MobileView>

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