pochern/one-goal-app

Fix 'minWidth' prop warning

Closed this issue · 1 comments

index.js:1 Warning: React does not recognize the minWidth prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase minwidth instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in div (created by ForwardRef(ListItemIcon))
in ForwardRef(ListItemIcon) (created by WithStyles(ForwardRef(ListItemIcon)))
in WithStyles(ForwardRef(ListItemIcon)) (at AppContent.js:113)
in div (created by ForwardRef(ButtonBase))
in ForwardRef(ButtonBase) (created by WithStyles(ForwardRef(ButtonBase)))
in WithStyles(ForwardRef(ButtonBase)) (created by ForwardRef(ListItem))
in ForwardRef(ListItem) (created by WithStyles(ForwardRef(ListItem)))
in WithStyles(ForwardRef(ListItem)) (at AppContent.js:106)
in ul (created by ForwardRef(List))
in ForwardRef(List) (created by WithStyles(ForwardRef(List)))
in WithStyles(ForwardRef(List)) (at AppContent.js:104)
in div (at AppContent.js:103)
in div (created by ForwardRef(Paper))
in ForwardRef(Paper) (created by WithStyles(ForwardRef(Paper)))
in WithStyles(ForwardRef(Paper)) (created by ForwardRef(Drawer))
in div (created by ForwardRef(Drawer))
in ForwardRef(Drawer) (created by WithStyles(ForwardRef(Drawer)))
in WithStyles(ForwardRef(Drawer)) (at AppContent.js:95)
in div (at AppContent.js:94)
in ThemeProvider (at AppContent.js:93)
in AppContent (at App.js:9)
in div (at App.js:7)
in App (at src/index.js:26)
in Provider (at src/index.js:25)

Fixed with e536f92