Skip to content

Commit

Permalink
refactor(pages/search): Page title duplicate next hat docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Sep 7, 2023
1 parent 0a9ac43 commit dc9274c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs-next-hat-com",
"version": "0.9.2",
"version": "0.9.3",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand Down
4 changes: 1 addition & 3 deletions src/pages/search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Layout from '@theme/Layout';
import Head from '@docusaurus/Head';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';

function GoogleSearch() {
return (
Expand All @@ -13,10 +12,9 @@ function GoogleSearch() {
}

export default function Search() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={siteConfig.title}
title="Search"
description="Next Hat documentation search page"
>
<Head>
Expand Down

0 comments on commit dc9274c

Please sign in to comment.