diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-11-16 11:16:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 11:16:31 -0800 |
commit | e637798e05ba3bfc1c78be1b0f70e8b0ac22554d (patch) | |
tree | 61d60e597d406744125c4dcf71a6c63cebc3a47b /src/view/com/modals/ChangeHandle.tsx | |
parent | 9f7a162a96200aaca0512765eff938a88c84d6d6 (diff) | |
download | voidsky-e637798e05ba3bfc1c78be1b0f70e8b0ac22554d.tar.zst |
Refactor account-creation to use react-query and a reducer (react-query refactor) (#1931)
* Refactor account-creation to use react-query and a reducer * Add translations * Missing translate
Diffstat (limited to 'src/view/com/modals/ChangeHandle.tsx')
-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}}> |