fix: add deps for integration cmds (#1696)

This commit is contained in:
Whitewater 2024-11-22 12:34:51 +08:00 committed by GitHub
parent 89239d89aa
commit 1353d4bfc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

View File

@ -93,6 +93,9 @@ const useRegisterEagleCommands = () => {
}
},
}),
{
deps: [isEagleAvailable],
},
)
}
@ -157,6 +160,9 @@ const useRegisterReadwiseCommands = () => {
}
},
}),
{
deps: [isReadwiseAvailable],
},
)
}
@ -224,6 +230,9 @@ const useRegisterInstapaperCommands = () => {
}
},
}),
{
deps: [isInstapaperAvailable],
},
)
}
@ -305,6 +314,9 @@ const useRegisterOmnivoreCommands = () => {
}
},
}),
{
deps: [isOmnivoreAvailable],
},
)
}
@ -384,6 +396,9 @@ const useRegisterObsidianCommands = () => {
})
},
}),
{
deps: [isObsidianAvailable],
},
)
}
@ -446,5 +461,8 @@ const useRegisterOutlineCommands = () => {
}
},
}),
{
deps: [outlineAvailable],
},
)
}