diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-07-15 09:10:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-15 09:10:26 -0500 |
| commit | bce1f91af62a8b3269f1e477e2a2311bcad2112f (patch) | |
| tree | 187c3aa7466b512ad9f083cfc41b998d0f24d087 /src | |
| parent | 26ecbb6955d9281bf94af4df4d55788cd05a0211 (diff) | |
| parent | af0df4c2820715d70f325461a82419d0a5cb988f (diff) | |
| download | slskd-bce1f91af62a8b3269f1e477e2a2311bcad2112f.tar.gz | |
Merge pull request #1168 from MagneticNeedle/fix-shares-file-ls-theme
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> ); |
