tangled
alpha
login
or
join now
jollywhoppers.com
/
witchsky.app
104
fork
atom
Bluesky app fork with some witchin' additions 💫
witchsky.app
bluesky
fork
client
104
fork
atom
overview
issues
46
pulls
pipelines
fix type error (#8722)
authored by
hailey.at
and committed by
GitHub
7 months ago
4d210e33
15abdc67
+3
1 changed file
expand all
collapse all
unified
split
src
lib
hooks
useOTAUpdates.ts
+3
src/lib/hooks/useOTAUpdates.ts
···
69
const {currentlyRunning} = useUpdates()
70
const [pending, setPending] = React.useState(false)
71
const currentChannel = currentlyRunning?.channel
0
0
72
73
const tryApplyUpdate = async (channel: string) => {
74
setPending(true)
···
113
return {
114
tryApplyUpdate,
115
revertToEmbedded,
0
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
}