mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Pass store into skin loading (#875)
This commit is contained in:
parent
39c3a25c0a
commit
378c9c595b
1 changed files with 2 additions and 2 deletions
|
|
@ -551,7 +551,7 @@ function App() {
|
|||
<DropTarget
|
||||
style={{ width: "100%", height: "100%" }}
|
||||
handleDrop={e => {
|
||||
dispatch(Actions.gotSkinBlob(e.dataTransfer.files[0]));
|
||||
dispatch(Actions.gotSkinBlob(e.dataTransfer.files[0], store));
|
||||
}}
|
||||
>
|
||||
<XmlNode node={root} />
|
||||
|
|
@ -559,7 +559,7 @@ function App() {
|
|||
<select
|
||||
style={{ position: "absolute", bottom: 0 }}
|
||||
onChange={e => {
|
||||
dispatch(Actions.gotSkinUrl(e.target.value));
|
||||
dispatch(Actions.gotSkinUrl(e.target.value, store));
|
||||
}}
|
||||
>
|
||||
{skinUrls.map(url => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue