diff options
| author | MagneticNeedle <vibhakar.solanki@magnifi.ai> | 2024-07-14 18:27:34 +0530 |
|---|---|---|
| committer | MagneticNeedle <vibhakar.solanki@magnifi.ai> | 2024-07-14 18:37:20 +0530 |
| commit | af0df4c2820715d70f325461a82419d0a5cb988f (patch) | |
| tree | 187c3aa7466b512ad9f083cfc41b998d0f24d087 /src | |
| parent | 26ecbb6955d9281bf94af4df4d55788cd05a0211 (diff) | |
| download | slskd-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.jsx | 3 |
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> ); |
