diff --git a/app2/src/lib/graphql/service.ts b/app2/src/lib/graphql/service.ts index dfbb38b129..8935f4d7c2 100644 --- a/app2/src/lib/graphql/service.ts +++ b/app2/src/lib/graphql/service.ts @@ -184,7 +184,7 @@ export class GraphQL extends Effect.Service()("app/GraphQL", { const liveFetch = fetch({ document, variables }) const invalidate = cache.invalidate(request) - // attempt cache invalidation before ultimatetly querying live endpoint + // attempt cache invalidation before ultimately querying live endpoint const recover = invalidate.pipe( Effect.andThen(() => liveFetch), Effect.catchTag("PersistenceError", () => liveFetch), diff --git a/app2/src/lib/utils/json.ts b/app2/src/lib/utils/json.ts index c803b6ec5d..df7811f6e2 100644 --- a/app2/src/lib/utils/json.ts +++ b/app2/src/lib/utils/json.ts @@ -8,7 +8,7 @@ import { isObject } from "effect/Predicate" export const safeStringifyJSON = (x: unknown): Effect.Effect => Effect.gen(function*() { /** - * This is valid for 1-indexed `JSON.strigify` parameter, but this cannot be reliably extracted from the types given function overloading. + * This is valid for 1-indexed `JSON.stringify` parameter, but this cannot be reliably extracted from the types given function overloading. */ type Replacer = (this: any, key: string, value: any) => any