aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMagneticNeedle <vibhakar.solanki@magnifi.ai>2024-07-14 18:27:34 +0530
committerMagneticNeedle <vibhakar.solanki@magnifi.ai>2024-07-14 18:37:20 +0530
commitaf0df4c2820715d70f325461a82419d0a5cb988f (patch)
tree187c3aa7466b512ad9f083cfc41b998d0f24d087 /src
parent26ecbb6955d9281bf94af4df4d55788cd05a0211 (diff)
downloadslskd-af0df4c2820715d70f325461a82419d0a5cb988f.tar.gz
fix(web:system:shares): add `theme` to function args
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/System/Shares/index.jsx3
1 files changed, 2 insertions, 1 deletions
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 }) => (
</ShrinkableButton>
);
-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 = {} } = {}) => {
<ContentsModal
onClose={() => setModal(false)}
share={modal}
+ theme={theme}
/>
</Switch>
);