diff --git a/eslint.config.mjs b/eslint.config.mjs index bf12c59..4ff9381 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -50,7 +50,7 @@ export default tseslint.config( "@typescript-eslint/restrict-plus-operands": "error", "@typescript-eslint/restrict-template-expressions": "error", "@typescript-eslint/unbound-method": "error", - "@typescript-eslint/promise-function-async": "warn", + "@typescript-eslint/promise-function-async": "error", "rxjs/no-async-subscribe": "warn", "rxjs/no-ignored-observable": "warn", "rxjs/no-ignored-subscription": "warn", diff --git a/package.json b/package.json index dc18462..729fd04 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "server:build": "tsc --project tsconfig.server.json", "server:dev": "ts-node-dev --project tsconfig.server.json src/index -watch -server -account -import", "start": "node dist/index.js -server", - "start:dev": "concurrently \"yarn run server:dev\" \"yarn run client:dev\"", + "start:dev": "concurrently \"yarn server:dev\" \"yarn client:dev\"", "storybook": "storybook dev -p 6006", "storybook:build": "storybook build -o dist/storybook" }, diff --git a/src/app/components/Portfolio/Layout/links.ts b/src/app/components/Portfolio/Layout/links.ts index fb26b33..c024d10 100644 --- a/src/app/components/Portfolio/Layout/links.ts +++ b/src/app/components/Portfolio/Layout/links.ts @@ -5,13 +5,13 @@ import { TradeLink } from "../Trade/links"; export const links = (portfolioId: string): Record => { const result: Record = {}; + result[ReportLink.toIndex(portfolioId)] = "Tax reports"; result[StatementLink.toIndex(portfolioId)] = "Statements"; result[TradeLink.toIndex(portfolioId)] = "Trades"; result[`/portfolio/${portfolioId}/positions/all`] = "Positions"; result[`/portfolio/${portfolioId}/orders`] = "Open Orders"; result[BalanceLink.toIndex(portfolioId)] = "Balances"; result[`/portfolio/${portfolioId}/symbols`] = "Symbols"; - result[ReportLink.toIndex(portfolioId)] = "Tax reports"; result[`/portfolio/${portfolioId}/parameters`] = "Settings"; return result; };