How to fix on checkboxes default value checked warning ? #1304
-
I have markdown ## Features
- [x] unique visitor
- [x] override useragent
- [ ] Disable WebRTC
- [x] local exchanger
- [x] override referer
- [ ] override custom header
- [ ] override proxy
- [ ] push url to global exchanger
- [x] auto scroll top - bottom ↻ then i render the raw markdown with this import { markdown as changelogMd } from '@root/changelog.md';
import { markdown as readmeMd } from '@root/readme.md';
import ReactMarkdown from 'react-markdown';
import rehypeRaw from 'rehype-raw';
import remarkGfm from 'remark-gfm';
import './homepage.scss';
const Homepage = () => {
return (
<main id="homepage" className="markdown-body relative overflow-x-auto">
<div className="mx-auto prose lg:prose-lg dark:prose-invert text-gray-500 dark:text-gray-400">
<ReactMarkdown children={readmeMd} remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeRaw]} />
<div style={{ height: '2em' }}></div>
<h2 className="text-center">CHANGELOG</h2>
<ReactMarkdown children={changelogMd} remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeRaw]} />
</div>
</main>
);
};
export default Homepage; got error
this error made my navigation button (aside or top) not working. here full markdown files: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Well it’s a warning. And what it says is true. It’s a readonly input. You know, warnings aren’t bad? What do you want?
That sounds more like something else? |
Beta Was this translation helpful? Give feedback.
-
Welcome @dimaslanjaka! 👋 The HTML is indeed static, and is noted as such with the You are welcome to make it read only or turn it interactive. |
Beta Was this translation helpful? Give feedback.
No. Console warnings would not cause the app to halt or break.
It displays exactly how GitHub does already.
The warning is coming from your development tooling, you don't see the warning in GitHub because it is not using the same tools and is running in production mode not development mode.