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

Dev console is throwing an error #9

Open
SasquatchLV opened this issue Aug 18, 2021 · 2 comments
Open

Dev console is throwing an error #9

SasquatchLV opened this issue Aug 18, 2021 · 2 comments

Comments

@SasquatchLV
Copy link

Warning: Received truefor a non-boolean attributetitle`.

If you want to write it to the DOM, pass a string instead: title="true" or title={value.toString()}.
at h3
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at div
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at div
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at section
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at section
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at Projects
at main
at div
at O (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:19450)
at Layout (http://localhost:3000/_next/static/chunks/pages/index.js?ts=1629311327258:8412:23)
at Home
at Ge (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:2838:17005)
at Theme (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:1020:23)
at App (http://localhost:3000/_next/static/chunks/pages/_app.js?ts=1629311327258:821:24)
at ErrorBoundary (http://localhost:3000/_next/static/chunks/main.js?ts=1629311327258:742:47)
at ReactDevOverlay (http://localhost:3000/_next/static/chunks/main.js?ts=1629311327258:858:23)
at Container (http://localhost:3000/_next/static/chunks/main.js?ts=1629311327258:8719:5)
at AppContainer (http://localhost:3000/_next/static/chunks/main.js?ts=1629311327258:9207:24)
at Root (http://localhost:3000/_next/static/chunks/main.js?ts=1629311327258:9343:25)`

@lanaarnous01
Copy link

Hello, I am having the same trouble, how did you fix it?

@Sasurai087
Copy link

Sasurai087 commented Dec 2, 2021

Hello, I fixed this by doing the following:

  1. Go to "src/components/Projects/Projects.js"
  2. On Line 33, change the title prop on to title="true".

It should look like this:

            <TitleContent>
                <HeaderThree title="true">{title}</HeaderThree>
                <Hr />
            </TitleContent>

This also works when I do . I believe this error occurs because we are telling HeaderThree that it has an attribute of title, but we are not giving it any value.

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

3 participants