Skip to content

Commit

Permalink
chore: fix typo and remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan committed Jan 19, 2024
1 parent d5895ef commit da21af1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/hooks/useEthers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function useEthers({ subnet, viaMetaMask }: Args = {}) {
setErrors((e) => [
...e,
{
message: `Could not reach provider's endoint${
message: `Could not reach provider's endpoint${
' (' +
(subnet
? subnet.endpointWs || subnet.endpointHttp
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/src/hooks/useRegisteredSubnets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import useEthers from './useEthers'

export default function useRegisteredSubnets() {
const { setErrors } = useContext(ErrorsContext)
console.log('useEthers from useRegisteredSubnets')
const { provider } = useEthers()
const [loading, setLoading] = useState(false)
const [registeredSubnets, setRegisteredSubnets] = useState<SubnetWithId[]>()
Expand Down

0 comments on commit da21af1

Please sign in to comment.