diff options
Diffstat (limited to 'src/view/com/modals')
-rw-r--r-- | src/view/com/modals/ChangeHandle.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/modals/ChangeHandle.tsx b/src/view/com/modals/ChangeHandle.tsx index 1a259b85e..da814b3d4 100644 --- a/src/view/com/modals/ChangeHandle.tsx +++ b/src/view/com/modals/ChangeHandle.tsx @@ -33,12 +33,12 @@ export const snapPoints = ['100%'] export type Props = {onChanged: () => void} export function Component(props: Props) { - const {currentAccount} = useSession() + const {agent, currentAccount} = useSession() const { isLoading, data: serviceInfo, error: serviceInfoError, - } = useServiceQuery() + } = useServiceQuery(agent.service.toString()) return isLoading || !currentAccount ? ( <View style={{padding: 18}}> |