aboutsummaryrefslogtreecommitdiff
path: root/client/src/components
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2025-04-27 23:17:46 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2025-04-27 23:17:46 -0600
commit1ac28532969429f90fc3b4fe666e58ace807d17a (patch)
treea67d449b93a4656bf8be902d70142ee3ad1fe1bd /client/src/components
parent03183c0ca28abc968d77ed842a387a1da73af61b (diff)
fix imports
Diffstat (limited to 'client/src/components')
-rw-r--r--client/src/components/BidsPage.jsx2
-rw-r--r--client/src/components/MarketDataPage.jsx4
-rw-r--r--client/src/components/SubmitBidPage.jsx4
-rw-r--r--client/src/components/index.js3
4 files changed, 8 insertions, 5 deletions
diff --git a/client/src/components/BidsPage.jsx b/client/src/components/BidsPage.jsx
index e0c4128..2b97e99 100644
--- a/client/src/components/BidsPage.jsx
+++ b/client/src/components/BidsPage.jsx
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import { Table, Typography, Spin, Message, Card, Empty, Badge } from '@arco-design/web-react';
import { IconArrowRise, IconArrowFall } from '@arco-design/web-react/icon';
import '@arco-design/web-react/dist/css/arco.css';
-import API_BASE_URL from './config';
+import API_BASE_URL from '../config';
const columns = (bids) => [
{
diff --git a/client/src/components/MarketDataPage.jsx b/client/src/components/MarketDataPage.jsx
index 5e028f8..9d98269 100644
--- a/client/src/components/MarketDataPage.jsx
+++ b/client/src/components/MarketDataPage.jsx
@@ -3,8 +3,8 @@ import { Typography, Spin, Message, Card, Grid } from '@arco-design/web-react';
import '@arco-design/web-react/dist/css/arco.css';
import { initVChartArcoTheme } from '@visactor/vchart-arco-theme';
import { VChart } from '@visactor/react-vchart';
-import API_BASE_URL from './config';
-import { MarketContext, MARKET_FULL_NAMES } from './App';
+import API_BASE_URL from '../config';
+import { MarketContext, MARKET_FULL_NAMES } from '../App';
// TODO:
//
diff --git a/client/src/components/SubmitBidPage.jsx b/client/src/components/SubmitBidPage.jsx
index 7737c20..bed92be 100644
--- a/client/src/components/SubmitBidPage.jsx
+++ b/client/src/components/SubmitBidPage.jsx
@@ -4,8 +4,8 @@ import '@arco-design/web-react/dist/css/arco.css';
import dayjs from 'dayjs';
import utc from 'dayjs/plugin/utc';
import timezone from 'dayjs/plugin/timezone';
-import API_BASE_URL from './config';
-import { MarketContext, MARKET_FULL_NAMES } from './App';
+import API_BASE_URL from '../config';
+import { MarketContext, MARKET_FULL_NAMES } from '../App';
dayjs.extend(utc);
dayjs.extend(timezone);
diff --git a/client/src/components/index.js b/client/src/components/index.js
new file mode 100644
index 0000000..9ca2287
--- /dev/null
+++ b/client/src/components/index.js
@@ -0,0 +1,3 @@
+export { default as MarketDataPage } from './MarketDataPage';
+export { default as BidsPage } from './BidsPage';
+export { default as SubmitBidPage } from './SubmitBidPage';