Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client

fix type error (#8722)

authored by hailey.at and committed by

GitHub 4d210e33 15abdc67

+3
+3
src/lib/hooks/useOTAUpdates.ts
··· 69 const {currentlyRunning} = useUpdates() 70 const [pending, setPending] = React.useState(false) 71 const currentChannel = currentlyRunning?.channel 72 73 const tryApplyUpdate = async (channel: string) => { 74 setPending(true) ··· 113 return { 114 tryApplyUpdate, 115 revertToEmbedded, 116 currentChannel, 117 pending, 118 }
··· 69 const {currentlyRunning} = useUpdates() 70 const [pending, setPending] = React.useState(false) 71 const currentChannel = currentlyRunning?.channel 72 + const isCurrentlyRunningPullRequestDeployment = 73 + currentChannel?.startsWith('pull-request') 74 75 const tryApplyUpdate = async (channel: string) => { 76 setPending(true) ··· 115 return { 116 tryApplyUpdate, 117 revertToEmbedded, 118 + isCurrentlyRunningPullRequestDeployment, 119 currentChannel, 120 pending, 121 }