Skip to content

Commit

Permalink
chore: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
pablojhl committed Feb 6, 2025
1 parent 46831f7 commit f954261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions client-react-hooks/src/create-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export class ClientBuilder {
.chainUrl(this._chainUrl);

switch (this._config.type) {

case NetworkType.Devnet: {
const config = this._config as DevnetConfig;
let signer: OfflineSigner;
Expand All @@ -140,7 +139,6 @@ export class ClientBuilder {
default: {
throw new Error(`Unknown network`);
}

}
return builder.build();
}
Expand Down
5 changes: 4 additions & 1 deletion examples-nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export default function Home() {

useEffect(() => {
const init = async () => {
const client = await ClientBuilder.testnet("foobarbaz", await getKeplr()).build();
const client = await ClientBuilder.testnet(
"foobarbaz",
await getKeplr(),
).build();
setClient(client);
};
void init();
Expand Down

0 comments on commit f954261

Please # to comment.