From af0df4c2820715d70f325461a82419d0a5cb988f Mon Sep 17 00:00:00 2001 From: MagneticNeedle Date: Sun, 14 Jul 2024 18:27:34 +0530 Subject: fix(web:system:shares): add `theme` to function args --- src/web/src/components/System/Shares/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/src/components/System/Shares/index.jsx b/src/web/src/components/System/Shares/index.jsx index d7af5e5c..707c3340 100644 --- a/src/web/src/components/System/Shares/index.jsx +++ b/src/web/src/components/System/Shares/index.jsx @@ -33,7 +33,7 @@ const CancelButton = ({ cancel, working }) => ( ); -const Shares = ({ state = {} } = {}) => { +const Shares = ({ state = {}, theme } = {}) => { const [loading, setLoading] = useState(true); const [working, setWorking] = useState(false); const [shares, setShares] = useState([]); @@ -155,6 +155,7 @@ const Shares = ({ state = {} } = {}) => { setModal(false)} share={modal} + theme={theme} /> ); -- cgit v1.2.3