feat: add post drafts

This commit is contained in:
Xyphyn committed 2023-08-12 19:07:42 -07:00
1 parent 4906f338d5
commit ac9421e8c7
3 files changed
+30 -4

No files matched your search

+11 -1
View File
@@ -4,7 +4,17 @@ interface SessionStorage {
id: number
name: string
} | undefined
postData: {}
postDraft:
| {
community: number | null
title: string
body: string
image: FileList | null
url: string | undefined
nsfw: boolean
loading: boolean
}
| undefined
}
export const setSessionStorage = (