Skip to content

Commit

Permalink
add link to juxtastat infinite (#896)
Browse files Browse the repository at this point in the history
Actually publishes juxtastat infinite
  • Loading branch information
kavigupta authored Feb 1, 2025
1 parent b3da0fa commit 94b8662
Show file tree
Hide file tree
Showing 154 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions react/src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export function Sidebar({ onNavigate }: { onNavigate: () => void }): ReactNode {
<li>
<a style={linkStyle} {...navContext.link({ kind: 'quiz', mode: 'retro' }, { scroll: { kind: 'position', top: 0 }, postNavigationCallback: onNavigate })}>Retrostat</a>
</li>
<li>
<a style={linkStyle} {...navContext.link({ kind: 'quiz', mode: 'infinite' }, { scroll: { kind: 'position', top: 0 }, postNavigationCallback: onNavigate })}>Juxtastat Infinite</a>
</li>
</ul>
</div>
{
Expand Down
2 changes: 1 addition & 1 deletion react/src/navigation/PageDescriptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export async function loadPageDescriptor(newDescriptor: PageDescriptor, settings
break
case 'infinite':
if (updatedDescriptor.seed === undefined) {
const [seedVersions] = getInfiniteQuizzes(JSON.parse(localStorage.quiz_history as string) as QuizHistory, false)
const [seedVersions] = getInfiniteQuizzes(JSON.parse((localStorage.quiz_history || '{}') as string) as QuizHistory, false)
if (seedVersions.length > 0) {
const [seed, version] = seedVersions[0]
updatedDescriptor.seed = seed
Expand Down
4 changes: 2 additions & 2 deletions react/src/page_template/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ function TemplateFooter(): ReactNode {
}

function Version(): ReactNode {
return <span id="current-version">23.5.2</span>
return <span id="current-version">23.6.0</span>
}

function LastUpdated(): ReactNode {
return <span id="last-updated">2024-01-04</span>
return <span id="last-updated">2024-01-31</span>
}

function MainCredits(): ReactNode {
Expand Down
Loading

0 comments on commit 94b8662

Please sign in to comment.