fix: warning

This commit is contained in:
ozakione 2024-03-26 19:20:09 +01:00
parent 6e40a79b6f
commit 984518efaf
2 changed files with 2 additions and 2 deletions

View file

@ -310,7 +310,6 @@ declare module '@theme/Showcase/ShowcaseTagSelect' {
}
declare module '@theme/Showcase/ShowcaseFilterToggle' {
export type Operator = 'OR' | 'AND';
export const OperatorQueryKey = 'operator';
export default function ShowcaseFilterToggle(): JSX.Element;
}

View file

@ -11,10 +11,11 @@ import {useHistory, useLocation} from '@docusaurus/router';
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
import type {Operator} from '@theme/Showcase/ShowcaseFilterToggle';
import {OperatorQueryKey} from '@theme/Showcase/ShowcaseFilterToggle';
import styles from './styles.module.css';
const OperatorQueryKey = 'operator';
type UserState = {
scrollTopPosition: number;
focusedElementId: string | undefined;