File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ export function bytesScalar(opts: {
257257 // so that when you're doing a mutation in a resolver, you can just pass in a Uint8Array directly
258258 if ( value instanceof Uint8Array ) {
259259 // duplicate it though to avoid any weirdness with the array being mutated
260- // + ensuring that if you pass in a Buffer, resolvers recieve a normal Uint8Array
260+ // + ensuring that if you pass in a Buffer, resolvers receive a normal Uint8Array
261261 return Uint8Array . from ( value )
262262 }
263263 if ( typeof value !== 'string' ) {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export function Field(props: FieldProps<typeof controller>) {
9999}
100100
101101function validate ( value : Value , isRequired : boolean , label : string ) : string | undefined {
102- // if we recieve null initially on the item view and the current value is null,
102+ // if we receive null initially on the item view and the current value is null,
103103 // we should always allow saving it because:
104104 // - the value might be null in the database and we don't want to prevent saving the whole item because of that
105105 // - we might have null because of an access control error
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ function validate(
103103) : string | undefined {
104104 const isEmpty = ! value . value
105105
106- // if we recieve null initially on the item view and the current value is null,
106+ // if we receive null initially on the item view and the current value is null,
107107 // we should always allow saving it because:
108108 // - the value might be null in the database and we don't want to prevent saving the whole item because of that
109109 // - we might have null because of an access control error
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const Hex = new GraphQLScalarType({
5353 // so that when you're doing a mutation in a resolver, you can just pass in a Uint8Array directly
5454 if ( value instanceof Uint8Array ) {
5555 // duplicate it though to avoid any weirdness with the array being mutated
56- // + ensuring that if you pass in a Buffer, resolvers recieve a normal Uint8Array
56+ // + ensuring that if you pass in a Buffer, resolvers receive a normal Uint8Array
5757 return Uint8Array . from ( value )
5858 }
5959 if ( typeof value !== 'string' ) {
You can’t perform that action at this time.
0 commit comments