Skip to content

Commit

Permalink
refactor(Banner): minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ITML committed Feb 18, 2022
1 parent 4668a6b commit b9073b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/Banner/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
Banner.propTypes = {
title: PropTypes.string,
info: PropTypes.string,
image: PropTypes.bool,
image: PropTypes.string,
};

function Banner({ image, children }) {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/Banner/Banner.stories.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import Banner from './Banner';
import imgUrl from 'ui-assets/images/banner.png';
import imgUrl from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/banner.png';

export default {
title: 'Components/Page Header',
Expand Down

0 comments on commit b9073b6

Please sign in to comment.