Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element style not allowed as child of element #85

Open
webspecialist opened this issue Jan 11, 2025 · 0 comments
Open

Element style not allowed as child of element #85

webspecialist opened this issue Jan 11, 2025 · 0 comments

Comments

@webspecialist
Copy link

I am using:
"next": "13.3.5-canary.12",
"next-nprogress-bar": "^2.3.13",

There is an HTML validation error:
Element style not allowed as child of element div in this context.

nprogressStyle

I don't want the element style. How to fix it?

function MyApp({ Component, pageProps, phone_line }: MyAppProps) {
  return (
    <>      
      <GoogleReCaptchaProvider
        reCaptchaKey="myKey"
        container={{
          parameters: {
            badge: 'bottomleft',
            theme: 'dark',
          }
        }}
      >
        <RootLayout phone_line={phone_line}>
          <Component {...pageProps} />
          <ProgressBar
            height="4px"
            color="var(--primary-color)"
            options={{ showSpinner: true }}
            shallowRouting
          />
          <ScrollArrow />
        </RootLayout>
      </GoogleReCaptchaProvider>
    </>
  );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant