From 1bbc4bc3ccbc3fee328ee8fcc2931318dd10e12b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 May 2022 21:24:27 -0500 Subject: change ShrinkableButton iconName to icon --- src/web/src/components/Shared/ShrinkableButton.js | 6 +++--- src/web/src/components/System/Info.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/web') diff --git a/src/web/src/components/Shared/ShrinkableButton.js b/src/web/src/components/Shared/ShrinkableButton.js index c5a96849..77981953 100644 --- a/src/web/src/components/Shared/ShrinkableButton.js +++ b/src/web/src/components/Shared/ShrinkableButton.js @@ -3,13 +3,13 @@ import React from 'react'; import { useMediaQuery } from 'react-responsive'; import { Button, Icon, Popup } from 'semantic-ui-react'; -const ShrinkableButton = ({ iconName, mediaQuery, children, ...rest }) => { +const ShrinkableButton = ({ icon, mediaQuery, children, ...rest }) => { const shouldShrink = useMediaQuery({ query: mediaQuery }) if (!shouldShrink) { return ( ) @@ -20,7 +20,7 @@ const ShrinkableButton = ({ iconName, mediaQuery, children, ...rest }) => { content={children} trigger={ } /> diff --git a/src/web/src/components/System/Info.js b/src/web/src/components/System/Info.js index 655ac431..8991777b 100644 --- a/src/web/src/components/System/Info.js +++ b/src/web/src/components/System/Info.js @@ -22,7 +22,7 @@ const Info = ({ state }) => {
getVersion({ forceCheck: true })} @@ -33,7 +33,7 @@ const Info = ({ state }) => { @@ -49,7 +49,7 @@ const Info = ({ state }) => { -- cgit v1.2.3