From b16f84ee98f4f08fcbc51f2ad8b7a9e37ff0ab9e Mon Sep 17 00:00:00 2001 From: Felix Dahlke Date: Wed, 14 Dec 2022 18:32:57 +0100 Subject: [PATCH] Fix tests --- .../poly-look/src/react-components/legends.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/feature-utils/poly-look/src/react-components/legends.jsx b/feature-utils/poly-look/src/react-components/legends.jsx index aed781e44..0c4e7a896 100644 --- a/feature-utils/poly-look/src/react-components/legends.jsx +++ b/feature-utils/poly-look/src/react-components/legends.jsx @@ -25,27 +25,27 @@ const legendComponent = (type, legends) => { * * @function * @param props - * @param props.legends {LegendEntry[]} + * @param props.legend {LegendEntry[]} * @returns {JSX.Element} */ -export const BlockLegend = ({ legends }) => legendComponent("block", legends); +export const BlockLegend = ({ legend }) => legendComponent("block", legend); /** * A legend element that shows entries with colored lines. * * @function * @param props - * @param props.legends {LegendEntry[]} + * @param props.legend {LegendEntry[]} * @returns {JSX.Element} */ -export const LineLegend = ({ legends }) => legendComponent("line", legends); +export const LineLegend = ({ legend }) => legendComponent("line", legend); /** * A legend element that shows entries with colored circles. * * @function * @param props - * @param props.legends {LegendEntry[]} + * @param props.legend {LegendEntry[]} * @returns {JSX.Element} */ -export const CircleLegend = ({ legends }) => legendComponent("circle", legends); +export const CircleLegend = ({ legend }) => legendComponent("circle", legend);