refactor: remove unused news data and simplify NewsContextProperties type

This commit is contained in:
Ardeman
2025-03-02 12:09:48 +08:00
parent 25e136ba72
commit 4aa6c8d0d4
2 changed files with 1 additions and 133 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import {
import type { ModalProperties } from '~/components/popup/success-modal'
export type NewsContextProperties = {
type NewsContextProperties = {
isLoginOpen: boolean
setIsLoginOpen: Dispatch<SetStateAction<boolean>>
isRegisterOpen: boolean