Skip to content

Commit d76c0ec

Browse files
committed
refactor: remove unused todoOptions and clean up related code
1 parent b0bf304 commit d76c0ec

3 files changed

Lines changed: 1 addition & 75 deletions

File tree

src/common/constant/store.key.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { CurrencyColorMode } from '@/context/currency.context'
22
import type { Theme } from '@/context/theme.context'
3-
import type { TodoOptions } from '@/context/todo.context'
43
import type { WidgetItem } from '@/context/widget-visibility.context'
54
import type { Bookmark } from '@/layouts/bookmark/types/bookmark.types'
65
import type { PetSettings } from '@/layouts/widgetify-card/pets/pet.context'
@@ -63,7 +62,6 @@ export interface StorageKV {
6362
}[]
6463
calendarDrawerState: boolean
6564
pets: PetSettings
66-
todoOptions: TodoOptions
6765
youtubeSettings: {
6866
username: string | null
6967
subscriptionStyle: 'short' | 'long'

src/layouts/bookmark/components/modal/edit-bookmark.modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export function EditBookmarkModal({
7171

7272
const updateFormData: UpdateBookmarkUpdateFormData = (key, value) => {
7373
if (key === 'icon') {
74+
// @ts-expect-error
7475
setIcon(value || null)
7576
}
7677
setFormData((prev) => ({ ...prev, [key]: value }))

src/layouts/widgetify-card/overviewCards/todo-overviewCard.tsx

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)