Skip to content

Commit

Permalink
[field] Rename contexts directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 11b005f commit 5946c56
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@sanity/field/src/diff/components/ChangeList.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import {ObjectDiff, ObjectSchemaType, ChangeNode} from '../../types'
import {Path} from '../../paths'
import {DiffContext} from '../context/DiffContext'
import {DiffContext} from '../contexts/DiffContext'
import {buildObjectChangeList} from '../changes/buildChangeList'
import {ChangeResolver} from './ChangeResolver'

Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/field/src/diff/components/FieldChange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {useDocumentOperation} from '@sanity/react-hooks'
import classNames from 'classnames'
import React, {useCallback, useContext, useState} from 'react'
import {undoChange} from '../changes/undoChange'
import {DiffContext} from '../context/DiffContext'
import {DiffContext} from '../contexts/DiffContext'
import {FieldChangeNode, OperationsAPI} from '../../types'
import {ChangeBreadcrumb} from './ChangeBreadcrumb'
import {DiffErrorBoundary} from './DiffErrorBoundary'
Expand Down

0 comments on commit 5946c56

Please sign in to comment.