1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

feature: use Svelte to render event list

This commit is contained in:
Ondřej Synáček
2020-12-15 22:42:56 +01:00
parent 470184aec0
commit 978662b55c
4 changed files with 119 additions and 2 deletions

View File

@ -30,7 +30,10 @@ const createEventStore = () => {
return
}
set(state.splice(calculationIndex, 1))
const nextState = [ ...state ]
nextState.splice(calculationIndex, 1)
set(nextState)
}
const getState = () => state