Skip to content

Commit

Permalink
typeshit
Browse files Browse the repository at this point in the history
  • Loading branch information
adammotts committed Apr 18, 2024
1 parent e4c938d commit d4d8e93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/MakePost/PortfolioSummary/PortfolioSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const PortfolioSummary: React.FC = () => {

const createPost = async () => {
await createPortfolioPost(
//"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
session.session?.id ?? '',
"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
//session.session?.id ?? '',
makePost.percentData, // TODO: Fetch using financial API
makePost.summaryType, // TODO: Fetch using financial API
).then(() => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/MakePost/TextBasedPost/TextBasedPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const TextBasedPost: React.FC = () => {
dispatch(updateDescription(description));

await createTextPost(
//"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
session.session?.id ?? '',
"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
//session.session?.id ?? '',
title,
description,
).then(() => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/MakePost/TradePost/TradePostDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const TradePostDetails: React.FC = () => {
dispatch(updateDescription(description));

await createTradePost(
//"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
session.session?.id ?? '',
"user_2chL8dX6HdbBAuvu3DDM9f9NzKK",
//session.session?.id ?? '',
makePost.percentData, // TODO: Fetch using financial API
makePost.tickerSymbol, // TODO: Fetch using financial API
title,
Expand Down

0 comments on commit d4d8e93

Please sign in to comment.