Skip to content

Commit

Permalink
Merge pull request #441 from polkadot-fellows/nik-minor-link-package
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
wirednkod authored Aug 10, 2024
2 parents 7875142 + 0fad3b6 commit 7228203
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
"private": true,
"version": "0.0.0",
"type": "module",
"homepage": "https://polkadot-fellows.github.io/dashboard/",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "papi",
"dev": "vite",
"build": "tsc && vite build",
"build:pages": "tsc && vite build --base '/dashboard/'",
"build:pages": "tsc && vite build --base '/'",
"deploy:pages": "pnpm run build:pages && gh-pages -d build",
"deploy": "gh-pages -d build --base '/dashboard/'",
"deploy": "gh-pages -d build --base '/'",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\""
Expand Down
16 changes: 8 additions & 8 deletions src/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@ import { toast } from 'sonner'

const pages = (lcStatus: boolean) => [
{
path: '',
path: '/',
element: <About lcStatus={lcStatus} />,
},
{
path: 'about',
path: '/about',
element: <About lcStatus={lcStatus} />,
},
{
path: 'membership',
path: '/membership',
element: <Membership />,
},
{
path: 'governance',
path: '/governance',
element: <Governance />,
},
{
path: 'salary',
path: '/salary',
element: <Salary />,
},
{
path: 'modules',
path: '/modules',
element: <Modules />,
},
{
path: 'rfcs',
path: '/rfcs',
element: <Rfc />,
},
{
path: 'monthlycalls',
path: '/monthlycalls',
element: <OpenDevMonthlyCalls />,
},
]
Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const root = createRoot(rootElement)

root.render(
<StrictMode>
<HashRouter basename="/dashboard">
<HashRouter basename="/">
<App />
</HashRouter>
</StrictMode>,
Expand Down

0 comments on commit 7228203

Please sign in to comment.