diff --git a/frontend/src/resources/build/components/config.tsx b/frontend/src/resources/build/components/config.tsx index 5f91e52db..067843ee8 100644 --- a/frontend/src/resources/build/components/config.tsx +++ b/frontend/src/resources/build/components/config.tsx @@ -15,24 +15,26 @@ import { import { useState } from "react"; export const AccountSelector = ({ - type, + id, + account_type, selected, onSelect, }: { - type: keyof Types.GetAvailableAccountsResponse; + id: string | undefined; + account_type: keyof Types.GetBuilderAvailableAccountsResponse; selected: string | undefined; onSelect: (id: string) => void; }) => { - const accounts = useRead("GetAvailableAccounts", {}).data; + const accounts = useRead(`GetBuilderAvailableAccounts`, { id }).data; return (