Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
su-u committed Nov 17, 2023
1 parent 5dcc4ae commit d010690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ export default function RootLayout({ children }: { children: React.ReactNode })
const className = 'rs-theme-dark';

return (
<html lang="en">
<head>
<GoogleAnalytics />
</head>
<html lang="ja">
<GoogleAnalytics />
<body className={className}>
<Provider>{children}</Provider>
<Analytics />
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/GoogleAnalytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { usePathname, useSearchParams } from 'next/navigation'
import { existsGaId, GA_MEASUREMENT_ID, pageview } from '@/lib/gtag';

const GoogleAnalytics: FC = () => {
const pathname = usePathname()
const searchParams = useSearchParams()
const pathname = usePathname();
const searchParams = useSearchParams();

useEffect(() => {
if (!existsGaId) {
Expand Down

1 comment on commit d010690

@vercel
Copy link

@vercel vercel bot commented on d010690 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tools-su-u-dev – ./

tools-su-u-dev-git-main-su-u.vercel.app
tools-su-u-dev-su-u.vercel.app
tools-su-u-dev.vercel.app
tools.su-u.dev

Please sign in to comment.