Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs fix spelling issues #816

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ workbox.setConfig({

// https://developers.google.com/web/tools/workbox/reference-docs/latest/workbox.routing#registerRoute
workbox.routing.registerRoute(
// \/{0,1} will also match dev.thechaindata.comxxxyyy, but this is would not a valid suffix, so it can be use.
// \/{0,1} will also match dev.thechaindata.comxxxyyy, but this is would not a valid suffix, so it can be used.
// for match dev.thechaindata.com & dev.thechaindata.com/
/(((dev|kepler)\.thechaindata\.com)|(app\.subquery\.network))\/{0,1}(?=((dashboard)|(explorer)|(profile)|(indexer)|(delegator)|(consumer)|(swap)|(studio))|\?|$).*/g,
// https://developers.google.com/web/tools/workbox/reference-docs/latest/workbox.strategies
Expand Down
2 changes: 1 addition & 1 deletion src/containers/AppInitialProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Spinner } from '@subql/components';
/**
*
* This is the App Initial State
* The App will initial ContractSDK, and store at global state
* The App will initial ContractSDK, and store it at the global state
*/
export const AppInitProvider: React.FC<PropsWithChildren> = ({ children }) => {
const { loading: loadingContract } = useInitContracts();
Expand Down
4 changes: 2 additions & 2 deletions src/containers/QueryApolloProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const networkLink = new ApolloLink((operation) => {
const links = ApolloLink.from([
onError(({ graphQLErrors, operation, networkError }) => {
// Filter consumer by community.
// If community link goes error, apollo-links will try until all failed.
// If community link goes in error, apollo-links will try until all failed.
// So Just catch the error caused by fallback service.
try {
const res = operation.getContext();
Expand All @@ -66,7 +66,7 @@ const links = ApolloLink.from([
},
});
} catch {
// don't care there have errors.
// don't care if there have errors.
}
}),
ApolloLink.split(
Expand Down