Skip to content

Commit 5f01d4e

Browse files
committed
include obj and properties in gitignore and update MainPage
1 parent d1d5891 commit 5f01d4e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ dist-ssr
2424
*.sw?
2525

2626
.vs/
27+
28+
# Ignore the obj and Properties directories
29+
obj/
30+
Properties/

tradingwebapp.client/src/PageMain.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ import { readUser } from './api-user';
33
import { readStock, Stock } from './api-stock';
44
import { lookup } from './api-quote';
55

6+
//Hello Van Nguyen
7+
/*
8+
The MainApp page displays a user’s portfolio, showing their cash balance, stock holdings, total stock value,
9+
and overall assets. It fetches data in real-time, calculates key metrics, and organizes stock details
10+
in a table for easy viewing.
11+
*/
612
const MainApp: React.FC = () => {
713
const [userData, setUserData] = useState<{ username: string; cash: number; } | null>(null);
814
const [stocks, setStocks] = useState<Stock[]>([]);

0 commit comments

Comments
 (0)