Skip to content

Commit

Permalink
fix(web): preview for index.pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
stevapple committed Oct 25, 2024
1 parent 4feeb6b commit 7ad7540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default function Docs(): JSX.Element {
useEffect(() => {
const urlProject = params.project ?? ''
const urlVersion = params.version ?? 'latest'
const urlPage = params['*'] ?? 'index.html'
const urlPage = params['*'] ?? ''
const urlHash = location.hash.split('?')[0] ?? ''
const urlHideUi =
searchParams.get('hide-ui') === 'true' ||
Expand Down

0 comments on commit 7ad7540

Please sign in to comment.