mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
linting
This commit is contained in:
parent
976f5e5a6b
commit
7e7ca4333b
1 changed files with 2 additions and 2 deletions
|
|
@ -548,11 +548,11 @@ const DigestSection = (): JSX.Element => {
|
|||
const handleDigestCheckboxChange = useCallback(
|
||||
(name: DigestChannel, checked: boolean) => {
|
||||
;(async () => {
|
||||
let selectedChannels = channelState
|
||||
const selectedChannels = channelState
|
||||
channelState[name] = checked
|
||||
setChannelState({ ...selectedChannels })
|
||||
|
||||
let updatedChannels: DigestChannel[] = []
|
||||
const updatedChannels: DigestChannel[] = []
|
||||
if (channelState.push) {
|
||||
updatedChannels.push('push')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue