mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +03:00
Fix post merge conflict on Rating field hook
This commit is contained in:
parent
97f154ef2c
commit
8bd567c2b4
@ -5,9 +5,9 @@ import { FieldMetadataType } from '~/generated-metadata/graphql';
|
|||||||
|
|
||||||
import { FieldContext } from '../../contexts/FieldContext';
|
import { FieldContext } from '../../contexts/FieldContext';
|
||||||
import { entityFieldsFamilySelector } from '../../states/selectors/entityFieldsFamilySelector';
|
import { entityFieldsFamilySelector } from '../../states/selectors/entityFieldsFamilySelector';
|
||||||
|
import { FieldRatingValue } from '../../types/FieldMetadata';
|
||||||
import { assertFieldMetadata } from '../../types/guards/assertFieldMetadata';
|
import { assertFieldMetadata } from '../../types/guards/assertFieldMetadata';
|
||||||
import { isFieldRating } from '../../types/guards/isFieldRating';
|
import { isFieldRating } from '../../types/guards/isFieldRating';
|
||||||
import { FieldRatingValue } from '../../types/FieldMetadata';
|
|
||||||
|
|
||||||
export const useRatingField = () => {
|
export const useRatingField = () => {
|
||||||
const { entityId, fieldDefinition, hotkeyScope } = useContext(FieldContext);
|
const { entityId, fieldDefinition, hotkeyScope } = useContext(FieldContext);
|
||||||
|
Loading…
Reference in New Issue
Block a user