Skip to content

Commit a7ca8b6

Browse files
committed
chore: fix spelling mistake
1 parent b7b677c commit a7ca8b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/@sanity/types/src/transactionLog/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface TransactionLogEventWithEffects extends TransactionLogEvent {
5151
*/
5252
export interface TransactionLogEventWithMutations extends TransactionLogEvent {
5353
/**
54-
* Array of mutations that occured in this transaction. Note that the transaction
54+
* Array of mutations that occurred in this transaction. Note that the transaction
5555
* log has an additional mutation type not typically seen in other APIs;
5656
* `createSquashed` ({@link CreateSquashedMutation}).
5757
*/
@@ -83,7 +83,7 @@ export interface CreateSquashedMutation {
8383
createdAt: string
8484

8585
/**
86-
* The document as it exists after squashing has occured
86+
* The document as it exists after squashing has occurred
8787
*/
8888
document: {
8989
_id: string

packages/@sanity/vision/src/containers/VisionErrorBoundary.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class VisionErrorBoundary extends Component<
6969
/>
7070
</div>
7171

72-
<Heading>An error occured</Heading>
72+
<Heading>An error occurred</Heading>
7373

7474
<Card border radius={2} overflow="auto" padding={4} tone="inherit">
7575
<Stack space={4}>

packages/sanity/src/core/studio/StudioErrorBoundary.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const INITIAL_STATE = {
4444

4545
export const StudioErrorBoundary: ComponentType<StudioErrorBoundaryProps> = ({
4646
children,
47-
heading = 'An error occured',
47+
heading = 'An error occurred',
4848
}) => {
4949
const [{error, eventId}, setError] = useState<ErrorBoundaryState>(INITIAL_STATE)
5050

0 commit comments

Comments
 (0)