Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit cabd7c4

Browse files
committed
Fix props
1 parent a150636 commit cabd7c4

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

components/atoms/Image/Image.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import styles from './Image.module.css'
1919
* @param {string} props.linkTarget Target for the link.
2020
* @param {string} props.linkClass Class for the link.
2121
* @param {string} props.rel The rel attribute for the link.
22-
* @param {string} props.sizeSlug The WP image size.
2322
* @param {string} props.url The full URL path of the image.
2423
* @return {Element} The Image component.
2524
*/
@@ -81,6 +80,5 @@ Image.propTypes = {
8180
linkClass: PropTypes.string,
8281
linkTarget: PropTypes.string,
8382
rel: PropTypes.string,
84-
sizeSlug: PropTypes.string,
8583
url: PropTypes.string
8684
}

components/atoms/Table/Table.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import styles from './Table.module.css'
1111
* @param {string} props.id Optional anchor/id.
1212
* @param {string} props.head The optional table head array.
1313
* @param {string} props.body The table body array.
14-
* @param {string} props.body The table body array.
1514
* @param {string} props.foot The optional table foorter array.
1615
* @param {string} props.caption Optional table caption.
1716
* @param {string} props.className Optional classnames.

components/common/MenuProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const MenuContext = createContext({
99
/**
1010
* Provide menus for components.
1111
*
12-
* @param {Object} props The component attributes as props.
12+
* @param {object} props The component attributes as props.
1313
* @return {Element} The child elements wrapped in a context provider.
1414
*/
1515
export default function MenuProvider(props) {

components/molecules/AlgoliaResults/refinements/CustomToggleRefinement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import styles from '../AlgoliaResults.module.css'
88
* Render the ToggleRefinement component.
99
*
1010
* @author WebDevStudios
11-
* @see https://www.algolia.com/doc/api-reference/widgets/toggle-refinement/react/
11+
* @see https://www.algolia.com/doc/api-reference/widgets/toggle-refinement/react/
1212
* @param {object} props The component attributes as props.
1313
* @param {boolean} props.currentRefinement The current refinement.
1414
* @param {Function} props.refine Update the current refinement.

components/molecules/ButtonGroup/ButtonGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import styles from './ButtonGroup.module.css'
1313
* @param {string} props.id The id of the block.
1414
* @param {string} props.orientation The orientation of buttons.
1515
* @param {string} props.contentJustification The justification of the buttons.
16-
* @param {element} props.children The children props to render.
16+
* @param {Element} props.children The children props to render.
1717
* @return {Element} The ButtonGroup component.
1818
*/
1919
export default function ButtonGroup({

0 commit comments

Comments
 (0)