mirror of
https://github.com/maciejpedzich/racemash.git
synced 2024-11-27 16:15:47 +01:00
Remove redundant type inferrence
This commit is contained in:
parent
fd0d0f2ff4
commit
89003918d8
@ -50,7 +50,7 @@ const pickPhotosForNewVote = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const submitVote = (result: 0 | 0.5 | 1) => {
|
const submitVote = (result: 0 | 0.5 | 1) => {
|
||||||
const fileNames = ([...photosInCurrentVote.value] as Photo[]).map(
|
const fileNames = [...photosInCurrentVote.value].map(
|
||||||
({ fileName }) => fileName
|
({ fileName }) => fileName
|
||||||
) as [string, string];
|
) as [string, string];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user