Created a variant in Button component and getting error when npm run (codegen)

Warning: Received true for a non-boolean attribute loading.

If you want to write it to the DOM, pass a string instead: loading=“true” or loading={value.toString()}.
at button
at FlexStack_ (webpack-internal:///./node_modules/@plasmicapp/react-web/dist/react-web.esm.js:741:20)

Solved this by deleting the custom Button component and re create it