fix type error (#8722)

This commit is contained in:
hailey
2025-07-25 09:34:04 -07:00
committed by GitHub
parent 15abdc67cf
commit 4d210e33cf
+3
View File
@@ -69,6 +69,8 @@ export function useApplyPullRequestOTAUpdate() {
const {currentlyRunning} = useUpdates()
const [pending, setPending] = React.useState(false)
const currentChannel = currentlyRunning?.channel
const isCurrentlyRunningPullRequestDeployment =
currentChannel?.startsWith('pull-request')
const tryApplyUpdate = async (channel: string) => {
setPending(true)
@@ -113,6 +115,7 @@ export function useApplyPullRequestOTAUpdate() {
return {
tryApplyUpdate,
revertToEmbedded,
isCurrentlyRunningPullRequestDeployment,
currentChannel,
pending,
}