diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4252779..560e41a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -33,7 +33,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 - - name: Use Node.js ${{ env.NODE }} + - name: Use Node.js uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -60,7 +60,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 - - name: Use Node.js ${{ env.NODE }} + - name: Use Node.js uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -90,7 +90,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 - - name: Use Node.js ${{ env.NODE }} + - name: Use Node.js uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' @@ -107,4 +107,4 @@ jobs: run: pnpm install - name: Test - run: pnpm test \ No newline at end of file + run: pnpm test diff --git a/app/main.tsx b/app/main.tsx index 0299816..6fba732 100644 --- a/app/main.tsx +++ b/app/main.tsx @@ -4,14 +4,15 @@ import { createRoot } from 'react-dom/client'; import system from './styles/theme'; -// If using a router add the public url to the base path. -const publicUrl = import.meta.env.VITE_BASE_URL || ''; -// The ds.io prefix is used just to get the base path when no public url is set. -const baseName = new URL( - publicUrl.startsWith('http') - ? publicUrl - : `https://ds.io/${publicUrl.replace(/^\//, '')}` - ).pathname; +// // If using a router add the public url to the base path. +// const publicUrl = import.meta.env.VITE_BASE_URL || ''; + +// // The ds.io prefix is used just to get the base path when no public url is set. +// const baseName = new URL( +// publicUrl.startsWith('http') +// ? publicUrl +// : `https://ds.io/${publicUrl.replace(/^\//, '')}` +// ).pathname; // Root component. function Root() { diff --git a/eslint.config.mjs b/eslint.config.mjs index e60f045..abd8d51 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -25,6 +25,7 @@ export default [ 'prefer-promise-reject-errors': 0, // 'import/order': 2, 'react/button-has-type': 2, + 'react/react-in-jsx-scope': 0, 'react/jsx-closing-bracket-location': 2, 'react/jsx-closing-tag-location': 2, 'react/jsx-curly-spacing': 2,