chore: fix ContentType usage (#2353)
* chore: fix ContentType usage * chore: fix specs
This commit is contained in:
@@ -17,7 +17,7 @@ export const useItemLinks = (item: DecryptedItem | undefined) => {
|
||||
|
||||
useEffect(
|
||||
() =>
|
||||
application.streamItems([ContentType.Note, ContentType.File, ContentType.Tag], () => {
|
||||
application.streamItems([ContentType.TYPES.Note, ContentType.TYPES.File, ContentType.TYPES.Tag], () => {
|
||||
refresh(Date.now())
|
||||
}),
|
||||
[application],
|
||||
|
||||
Reference in New Issue
Block a user