Skip to content
Snippets Groups Projects
Unverified Commit 6cadb511 authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[menu] Fixed PropTypes

parent c41bf04e
No related merge requests found
Pipeline #69315 failed with stages
in 15 minutes and 8 seconds
......@@ -83,7 +83,7 @@ const Accordeon = (props) => {
Accordeon.propTypes = {
open: PropTypes.bool,
permissions: [PropTypes.string],
permissions: PropTypes.arrayOf(PropTypes.string),
title: PropTypes.string,
children: PropTypes.node,
to: PropTypes.string
......@@ -106,7 +106,7 @@ const Item = (props) => {
Item.propTypes = {
to: PropTypes.string,
permissions: [PropTypes.string]
permissions: PropTypes.string
};
const Menu = ({ logout }) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment