Skip to content

Commit

Permalink
reverted the changes in index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellaha1 committed Dec 11, 2024
1 parent 05d12f6 commit a9e38d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/theme/SearchPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* 2. eslint ignore rule removed `eslint-disable jsx-a11y/no-autofocus`
*/

import React, { type ReactNode, useEffect, useReducer, useRef, useState } from 'react';
import React, { useEffect, useReducer, useRef, useState } from 'react';
import clsx from 'clsx';

import algoliaSearchHelper from 'algoliasearch-helper';
Expand Down Expand Up @@ -135,7 +135,7 @@ type ResultDispatcher =
| { type: 'update'; value: ResultDispatcherState }
| { type: 'advance'; value?: undefined };

function SearchPageContent(): ReactNode {
function SearchPageContent(): JSX.Element {
const {
i18n: { currentLocale },
} = useDocusaurusContext();
Expand Down Expand Up @@ -487,7 +487,7 @@ function SearchPageContent(): ReactNode {
);
}

export default function SearchPage(): ReactNode {
export default function SearchPage(): JSX.Element {
return (
<HtmlClassNameProvider className="search-page-wrapper">
<SearchPageContent />
Expand Down

0 comments on commit a9e38d5

Please sign in to comment.