-
Notifications
You must be signed in to change notification settings - Fork 0
Console Errors
1) validateDOMNesting(…): <div> cannot appear as a child of <p>.*))
Row was wrapped with <p></p> tag react Row and Col was creating div under the <P> so replacing <p> with <Div>
2) ‘true` for a non-boolean attribute `fluid`.
pass a string instead: fluid="true"
3) Received ‘false` for a non-boolean attribute.
out={value.toString()}.
4) AccordionCollapse it without={condition && value},
pass out={condition ? value : undefined}
5) Each child in a list should have a unique “key” prop,(Note:It is not general solution it just way it can be solve at the various place by finding unique key
* At Composition : replace <>. with <React.Fragment key={item.name}>
6)Received ‘true` for a non-boolean attribute `button`.
button="true"
7)Invalid DOM property ‘maxlength`. Did you mean `maxLength`?
minlength has changed to minLength, maxlength has changed to maxLength
8)The prop ‘dataSize` is marked as required in `PaginationTotal`, but its value is `undefined`.(note: this error has been fixed at all list pages)
const [totalSize, setTotalSize] = useState(0);
9) <p> cannot appear as a child of <table>.
Use <div className="mb-3"> instead of <p>.
10) <ul> cannot appear as a child of <table>.
Use <div className="mb-3"> instead of <p>.
11) <table> cannot appear as a child of <table>.
Don't nest <table>. Use <div> instead of outer <table>.
12) Received ‘false` for a non-boolean attribute `out`. If you want to write it to the DOM, pass a string instead: out=“false” or out={value.toString()}.
Use out={(collapsed.history ? "false" : "true")}.
13) Failed prop type: The prop ‘xs` of `Grid` must be used on `item`.
Use <Grid item className="badge-grid" xs={12}> instead of <Grid className="badge-grid" xs={12}>. Use 'item' prop in <Grid> in case you use `xs` prop.
14) Encountered two children with the same key, ‘glytoucan_ac`. Keys should be unique so that components maintain their identity across updates.
In table columns 'dataField' name can’t be same. Use dummy name like "image" but don't use same 'dataField' key.
15) validateDOMNesting(…): <div> cannot appear as a child of <tr>.
Use <td> instead of <div>.
Do mention page name.
1) Each child in a list should have a unique “key” prop. Check the render method of ‘ProteinDetail`.
Page names: ProteinDetail.
2) Each child in a list should have a unique “key” prop. Check the render method of ‘Body`.
Page names: ProteinDetail.
3) Failed prop type: Invalid prop ‘variant` of value `p` supplied to `ForwardRef(Typography)`, expected one of [“h1”,“h2”,“h3”,“h4”,“h5”,“h6”,“subtitle1”,“subtitle2”,“body1”,“body2”,“caption”,“button”,“overline”,“srOnly”,“inherit”].
Page names: ProteinTutorial, GlycanTutorial.
4) Access to font at ‘public.slidesharecdn.com/fonts/fontawesome-webfont.woff2?v=4.3.0?cb=1619653349’ from origin ‘www.slideshare.net’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Page names: ProteinTutorial, GlycanTutorial.
5) GET public.slidesharecdn.com/fonts/fontawesome-webfont.woff2?v=4.3.0?cb=1619653349 net::ERR_FAILED
Page names: ProteinTutorial, GlycanTutorial.