Coder Social home page Coder Social logo

Comments (2)

ipa-swk avatar ipa-swk commented on August 22, 2024

When I build the docs folder as x0 build docs, I get the same warning below:

building static siteWarning: Received true for a non-boolean attribute active.
If you want to write it to the DOM, pass a string instead: active="true" or active={value.toString()}.
in div
in ForwardRef
in Context.Consumer
in Context.Consumer
in StyledComponent
in Box
in ForwardRef
in Context.Consumer
in Context.Consumer
in StyledComponent
in Container
in Unknown
in Catch
in Route
in Switch
in DefaultApp
in Unknown
in Route
in withRouter()
in Catch
in Fragment
in Context.Provider
in MDXProvider
in Context.Provider
in ScopeProvider
in Unknown
in div
in ForwardRef
in Context.Consumer
in Context.Consumer
in StyledComponent
in Root
in Context.Provider
in Context.Consumer
in ThemeProvider
in Rebass.Provider
in Fragment
in Router
in StaticRouter
in Root

Any suggestions?

from x0.

qlong1717 avatar qlong1717 commented on August 22, 2024

Because a non-boolean attribute active need to set true or false, but true is the default, that just warned you a value is true by the default. So you need to set it to true or false and it will not show again.
for example:
//set it to false

from x0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.