Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

Fix TypeScript error and update workflow paths for auto-updater

tilakpatel220071b3dc651e
diff --git a/.github/workflows/build-with-updater.yml b/.github/workflows/build-with-updater.yml
index 81f9b42ff..4e57fee77 100644
--- a/.github/workflows/build-with-updater.yml
+++ b/.github/workflows/build-with-updater.yml
@@ -71,16 +71,18 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
- workspaces: './src-tauri -> target'
+ workspaces: './fincept-terminal-desktop/src-tauri -> target'
- name: Sync node version and setup cache
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
+ cache-dependency-path: './fincept-terminal-desktop/package-lock.json'
- name: Install frontend dependencies
run: npm install
+ working-directory: ./fincept-terminal-desktop
- name: Build the app with updater
uses: tauri-apps/tauri-action@v0
@@ -89,6 +91,7 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
with:
+ projectPath: fincept-terminal-desktop
tagName: ${{ github.ref_name }}
releaseName: 'FinceptTerminal ${{ github.ref_name }}'
releaseBody: 'See the assets to download this version and install.'
diff --git a/fincept-terminal-desktop/src/components/tabs/node-editor/ResultsDisplayNode.tsx b/fincept-terminal-desktop/src/components/tabs/node-editor/ResultsDisplayNode.tsx
index 1692ccd00..36b42fb8c 100644
--- a/fincept-terminal-desktop/src/components/tabs/node-editor/ResultsDisplayNode.tsx
+++ b/fincept-terminal-desktop/src/components/tabs/node-editor/ResultsDisplayNode.tsx
@@ -49,7 +49,7 @@ const ResultsDisplayNode: React.FC<ResultsDisplayNodeProps> = ({ data, selected
const renderMarkdown = (text: string) => {
const lines = text.split('\n');
- const elements: JSX.Element[] = [];
+ const elements: React.ReactElement[] = [];
let inTable = false;
lines.forEach((line, i) => {