diff --git a/frontend/src/pages/StockPage.tsx b/frontend/src/pages/StockPage.tsx
index 3904178..896bc2d 100644
--- a/frontend/src/pages/StockPage.tsx
+++ b/frontend/src/pages/StockPage.tsx
@@ -20,7 +20,7 @@ import {
Box,
} from '@mui/material';
-import { TASK_ERRORS } from '../constants/errorMessages';
+import { STOCK_ERRORS } from '../constants/errorMessages';
const StockPage: React.FC = () => {
@@ -47,9 +47,10 @@ const StockPage: React.FC = () => {
const fetchStocks = async () => {
try {
const stocks = await stockApi.getStocks();
+ console.log('Stocks=', stocks)
setStocks(stocks);
} catch (error) {
- console.error(`${TASK_ERRORS.FETCH_FAILED}:`, error);
+ console.error(`${STOCK_ERRORS.FETCH_FAILED}:`, error);
}
};
@@ -156,12 +157,12 @@ const StockPage: React.FC = () => {