Skip to content

Commit

Permalink
prop types added
Browse files Browse the repository at this point in the history
  • Loading branch information
Lvyshnevska committed Oct 23, 2023
1 parent af519ad commit b62e07c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FrontEnd/src/components/landing-page/banner/Banner.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import './Banner.css';
import Ellipses from '../ellipses/Ellipses';
import { Link } from 'react-router-dom';
import { PropTypes } from 'prop-types';


const MainBanner = (props) => {
Expand Down Expand Up @@ -86,4 +87,7 @@ const MainBanner = (props) => {
);
};

export default MainBanner;
export default MainBanner;

MainBanner.propTypes = {
isAuthorized: PropTypes.bool.isRequired};

0 comments on commit b62e07c

Please sign in to comment.