Skip to content

Commit

Permalink
fix: reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
howydev committed Dec 20, 2024
1 parent ed4c09f commit 338577d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions account-kit/smart-contracts/src/ma-v2/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ export function createSMAV2AccountClient<
* @param {CreateSMAV2AccountClientParams} config The configuration parameters required to create the MAv2 account client
* @returns {Promise<SmartAccountClient>} A promise that resolves to a `SmartAccountClient` instance
*/
export async function createSMAV2AccountClient({
...config
}: CreateSMAV2AccountClientParams): Promise<SmartAccountClient> {
const maV2Account = await createSMAV2Account({
...config,
});
export async function createSMAV2AccountClient(
config: CreateSMAV2AccountClientParams
): Promise<SmartAccountClient> {
const maV2Account = await createSMAV2Account(config);

return createSmartAccountClient({
...config,
Expand Down

0 comments on commit 338577d

Please sign in to comment.