Skip to content

Commit

Permalink
Removed all console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
simmmpleweb committed May 23, 2022
1 parent 5abe9c8 commit 20f6f8a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 20 deletions.
1 change: 1 addition & 0 deletions src/components/VuiButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ VuiButton.propTypes = {
"error",
"light",
"dark",
"text",
]),
circular: PropTypes.bool,
iconOnly: PropTypes.bool,
Expand Down
14 changes: 10 additions & 4 deletions src/examples/Cards/MasterCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,16 @@ MasterCard.defaultProps = {

// Typechecking props for the MasterCard
MasterCard.propTypes = {
color: PropTypes.oneOf(["white", "secondary", "info", "success", "warning", "error", "dark"]),
number: PropTypes.number.isRequired,
holder: PropTypes.string.isRequired,
expires: PropTypes.string.isRequired,
color: PropTypes.oneOf([
"white",
"secondary",
"info",
"success",
"warning",
"error",
"dark",
"text",
]),
};

export default MasterCard;
1 change: 0 additions & 1 deletion src/examples/LayoutContainers/PageLayout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ PageLayout.defaultProps = {

// Typechecking props for the PageLayout
PageLayout.propTypes = {
background: PropTypes.oneOf(["white", "light", "default"]),
children: PropTypes.node.isRequired,
};

Expand Down
1 change: 0 additions & 1 deletion src/examples/Navbars/DefaultNavbar/DefaultNavbarLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ DefaultNavbarLink.propTypes = {
icon: PropTypes.string.isRequired,
name: PropTypes.string.isRequired,
route: PropTypes.string.isRequired,
light: PropTypes.bool.isRequired,
};

export default DefaultNavbarLink;
1 change: 0 additions & 1 deletion src/examples/Navbars/DefaultNavbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ DefaultNavbar.defaultProps = {
// Typechecking props for the DefaultNavbar
DefaultNavbar.propTypes = {
transparent: PropTypes.bool,
light: PropTypes.bool,
action: PropTypes.oneOfType([
PropTypes.bool,
PropTypes.shape({
Expand Down
10 changes: 0 additions & 10 deletions src/layouts/authentication/components/CoverLayout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,6 @@ CoverLayout.defaultProps = {

// Typechecking props for the CoverLayout
CoverLayout.propTypes = {
color: PropTypes.oneOf([
"primary",
"secondary",
"info",
"success",
"warning",
"error",
"dark",
"light",
]),
header: PropTypes.node,
title: PropTypes.string,
description: PropTypes.string,
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/authentication/sign-up/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function SignIn() {
justify="center"
align="center"
bg="rgb(19,21,54)"
borderRadius="15px"
borderradius="15px"
sx={({ palette: { secondary }, borders: { borderRadius } }) => ({
borderRadius: borderRadius.xl,
padding: "25px",
Expand Down Expand Up @@ -121,7 +121,7 @@ function SignIn() {
justify="center"
align="center"
bg="rgb(19,21,54)"
borderRadius="15px"
borderradius="15px"
sx={({ palette: { secondary }, borders: { borderRadius } }) => ({
borderRadius: borderRadius.xl,
padding: "25px",
Expand Down Expand Up @@ -149,7 +149,7 @@ function SignIn() {
justify="center"
align="center"
bg="rgb(19,21,54)"
borderRadius="15px"
borderradius="15px"
sx={({ palette: { secondary }, borders: { borderRadius } }) => ({
borderRadius: borderRadius.xl,
padding: "25px",
Expand Down
1 change: 1 addition & 0 deletions src/layouts/billing/components/Transaction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Transaction.propTypes = {
"error",
"light",
"dark",
"text",
]).isRequired,
icon: PropTypes.node.isRequired,
name: PropTypes.string.isRequired,
Expand Down

0 comments on commit 20f6f8a

Please sign in to comment.