Skip to content

Commit

Permalink
fix: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Oct 16, 2023
1 parent 6e4552b commit efa1e8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/shared/query-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ If set to `false`, the query will not be retried on mount if it contains an erro

This option can be used to transform or select a part of the data returned by the query function. It affects the returned `data` value, but does not affect what gets stored in the query cache.

<div v-if="!hideQueryOptions?.includes('staleTime')"">
<div v-if="!hideQueryOptions?.includes('staleTime')">

#### staleTime

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/actions/getConnectorClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import type { ErrorType } from '../errors/base.js'
import {
ConnectorAccountNotFound,
type ConnectorAccountNotFoundErrorType,
ConnectorNotConnectedError,
type ConnectorNotConnectedErrorType,
ConnectorNotFoundError,
} from '../errors/config.js'
import type {
ChainIdParameter,
Expand Down Expand Up @@ -69,7 +69,7 @@ export async function getConnectorClient<
connector,
}
} else connection = config.state.connections.get(config.state.current!)
if (!connection) throw new ConnectorNotFoundError()
if (!connection) throw new ConnectorNotConnectedError()

const chainId = parameters.chainId ?? connection.chainId

Expand Down

1 comment on commit efa1e8c

@vercel
Copy link

@vercel vercel bot commented on efa1e8c Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wagmi-v2 – ./docs

wagmi-v2-git-alpha-wagmi-dev.vercel.app
wagmi-v2-wagmi-dev.vercel.app
wagmi-v2.vercel.app
alpha.wagmi.sh

Please sign in to comment.