Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/DocsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
import {
Link,
useMatches,
useNavigate,

Check warning on line 13 in src/components/DocsLayout.tsx

View workflow job for this annotation

GitHub Actions / PR

'useNavigate' is defined but never used
useParams,
} from '@tanstack/react-router'
import { Select } from '~/components/Select'

Check warning on line 16 in src/components/DocsLayout.tsx

View workflow job for this annotation

GitHub Actions / PR

'Select' is defined but never used
import { useLocalStorage } from '~/utils/useLocalStorage'
import { last } from '~/utils/utils'
import type { SelectOption } from '~/components/Select'

Check warning on line 19 in src/components/DocsLayout.tsx

View workflow job for this annotation

GitHub Actions / PR

'SelectOption' is defined but never used
import type { ConfigSchema, MenuItem } from '~/utils/config'
import { create } from 'zustand'

Check warning on line 21 in src/components/DocsLayout.tsx

View workflow job for this annotation

GitHub Actions / PR

'create' is defined but never used
import { Framework, getFrameworkOptions } from '~/libraries'

Check warning on line 22 in src/components/DocsLayout.tsx

View workflow job for this annotation

GitHub Actions / PR

'getFrameworkOptions' is defined but never used
import { DocsCalloutQueryGG } from '~/components/DocsCalloutQueryGG'
import { DocsCalloutBytes } from '~/components/DocsCalloutBytes'
import { twMerge } from 'tailwind-merge'
Expand Down Expand Up @@ -365,6 +365,7 @@
<div className="w-1/2 px-1 flex justify-end flex-wrap">
{prevItem ? (
<Link
from="/$libraryId/$version/docs"
to={prevItem.to}
params
className="py-1 px-2 bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/20 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
Expand All @@ -379,6 +380,7 @@
<div className="w-1/2 px-1 flex justify-start flex-wrap">
{nextItem ? (
<Link
from="/$libraryId/$version/docs"
to={nextItem.to}
params
className="py-1 px-2 bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/20 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
Expand Down
Loading