Skip to content

Commit

Permalink
add findspot route
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonjetz committed Nov 3, 2023
1 parent ea65719 commit edcca30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/router/fragmentariumRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import SignService from 'signs/application/SignService'
import { FragmentSlugs, sitemapDefaults } from 'router/sitemap'
import { HeadTagsService } from 'router/head'
import BibliographyService from 'bibliography/application/BibliographyService'
import { FindspotService } from 'fragmentarium/application/FindspotService'

function parseStringParam(location: Location, param: string): string | null {
const value = parse(location.search)[param]
Expand Down Expand Up @@ -55,6 +56,7 @@ export default function FragmentariumRoutes({
fragmentSearchService,
textService,
wordService,
findspotService,
signService,
bibliographyService,
fragmentSlugs,
Expand All @@ -64,6 +66,7 @@ export default function FragmentariumRoutes({
fragmentSearchService: FragmentSearchService
textService: TextService
wordService: WordService
findspotService: FindspotService
signService: SignService
bibliographyService: BibliographyService
fragmentSlugs?: FragmentSlugs
Expand Down Expand Up @@ -134,6 +137,7 @@ export default function FragmentariumRoutes({
fragmentService={fragmentService}
fragmentSearchService={fragmentSearchService}
wordService={wordService}
findspotService={findspotService}
session={session}
{...parseFragmentParams(match, location)}
/>
Expand Down

0 comments on commit edcca30

Please sign in to comment.