Skip to content

Commit

Permalink
fix: remove asterix imports of react
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Sep 23, 2022
1 parent 4677879 commit a60dc16
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react'
import React from 'react'
import {TrackerContext} from './types'

export type ReporterHook<Payload> = (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react'
import React from 'react'
import {Box, rem, Text} from '@sanity/ui'
import styled from 'styled-components'
import {FromToIndex, Annotation, FieldChangeNode} from '../../types'
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/src/field/diff/components/DiffString.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Text, Card, rem} from '@sanity/ui'
import * as React from 'react'
import React from 'react'
import styled from 'styled-components'
import {StringDiffSegment, StringDiff} from '../../types'
import {DiffCard} from './DiffCard'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Image} from '@sanity/types'
import * as React from 'react'
import React from 'react'
import {Box, Card, Text} from '@sanity/ui'
import {DiffCard, DiffTooltip, ChangeList, getAnnotationAtPath} from '../../../diff'
import {DiffComponent, ObjectDiff} from '../../../types'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import {useCallback, useMemo, useRef} from 'react'
import React, {useCallback, useMemo, useRef} from 'react'
import {Path} from '@sanity/types'
import {useDidUpdate} from '../../hooks/useDidUpdate'
import {
Expand Down
3 changes: 1 addition & 2 deletions packages/sanity/src/form/types/inputProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
SchemaType,
StringSchemaType,
} from '@sanity/types'
import * as React from 'react'
import {ChangeEventHandler, FocusEventHandler, FormEventHandler} from 'react'
import React, {ChangeEventHandler, FocusEventHandler, FormEventHandler} from 'react'
import {FormPatch, PatchEvent} from '../patch'
import {
ArrayOfObjectsFormNode,
Expand Down

0 comments on commit a60dc16

Please sign in to comment.