mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 10:07:35 +00:00
Spelling is hard for me
This commit is contained in:
parent
21c6c22584
commit
2136696fa2
3 changed files with 8 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ const Cell = React.memo((props) => {
|
|||
setSelectedSkin,
|
||||
requestUnloadedSkin,
|
||||
permalinkUrl,
|
||||
concentsToNsfw,
|
||||
consentsToNsfw,
|
||||
doesNotConcentToNsfw,
|
||||
showNsfw,
|
||||
} = props;
|
||||
|
|
@ -58,7 +58,7 @@ const Cell = React.memo((props) => {
|
|||
nsfw={nsfw}
|
||||
// TODO: This is werid because there is an implicit assumption that this is always avaliable if we have the skin
|
||||
permalink={permalinkUrl}
|
||||
concentsToNsfw={concentsToNsfw}
|
||||
consentsToNsfw={consentsToNsfw}
|
||||
doesNotConcentToNsfw={doesNotConcentToNsfw}
|
||||
showNsfw={showNsfw}
|
||||
/>
|
||||
|
|
@ -92,8 +92,8 @@ const mapDispatchToProps = (dispatch) => ({
|
|||
setSelectedSkin(hash, position) {
|
||||
dispatch(Actions.selectedSkin(hash, position));
|
||||
},
|
||||
concentsToNsfw() {
|
||||
dispatch(Actions.concentsToNsfw());
|
||||
consentsToNsfw() {
|
||||
dispatch(Actions.consentsToNsfw());
|
||||
},
|
||||
|
||||
doesNotConcentToNsfw() {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function Skin({
|
|||
src,
|
||||
fileName,
|
||||
nsfw,
|
||||
concentsToNsfw,
|
||||
consentsToNsfw,
|
||||
doesNotConcentToNsfw,
|
||||
showNsfw,
|
||||
}) {
|
||||
|
|
@ -32,7 +32,7 @@ function Skin({
|
|||
doesNotConcentToNsfw();
|
||||
return;
|
||||
} else {
|
||||
concentsToNsfw();
|
||||
consentsToNsfw();
|
||||
}
|
||||
}
|
||||
if (Utils.eventIsLinkClick(e)) {
|
||||
|
|
@ -47,7 +47,7 @@ function Skin({
|
|||
}
|
||||
},
|
||||
[
|
||||
concentsToNsfw,
|
||||
consentsToNsfw,
|
||||
doesNotConcentToNsfw,
|
||||
hash,
|
||||
nsfw,
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export function loadedSkinZip(zip) {
|
|||
return { type: "LOADED_SKIN_ZIP", zip };
|
||||
}
|
||||
|
||||
export function concentsToNsfw() {
|
||||
export function consentsToNsfw() {
|
||||
return { type: "CONCENTS_TO_NSFW" };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue