Skip to content

bug: Analytics SDK: Failed to fetch #176

@Huguet57

Description

@Huguet57
Image

In this v0 template: https://v0.app/templates/openfort-starter-fWGkNDEFPBw a user is getting this error.

The layout.tsx is like this:

import type React from "react"
import type { Metadata } from "next"
import { Geist, Geist_Mono } from "next/font/google"
import { Analytics } from "@vercel/analytics/next"
import "./globals.css"
import { Providers } from "@/lib/providers"

const _geist = Geist({ subsets: ["latin"] })
const _geistMono = Geist_Mono({ subsets: ["latin"] })

export const metadata: Metadata = {
  title: "Openfort Wallet Template",
  description: "Web3 embedded wallet template powered by Openfort",
  generator: "v0.app",
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en">
      <body className={`font-sans antialiased`}>
        <Providers>{children}</Providers>
        <Analytics />
      </body>
    </html>
  )
}

Only happens to him at the moment, how can I silently display the error instead of it showing on the users face?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions