Skip to content

Commit

Permalink
Update counter.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 25, 2024
1 parent 103f471 commit a964da7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/counter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useState } from "react"
import { HelmetProvider, Helmet } from "react-helmet-async"
import Layout from "@/components/Layout"
import { Button } from "@/components/ui/button"
import SrcPage from "@/components/SrcPage"
Expand All @@ -8,12 +7,7 @@ export default (): JSX.Element => {
const [count, setCount] = useState(0)
const title = `Counter`

return (<Layout>
<HelmetProvider>
<Helmet>
<title>{title}</title>
</Helmet>
</HelmetProvider>
return (<Layout title={title}>
<div className="mt-8 mb-20 mx-auto max-w-fit">
<h1 className="mb-4 text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-50 sm:text-4xl">{title}</h1>

Expand Down

0 comments on commit a964da7

Please sign in to comment.