Fix post merge conflict on Rating field hook

This commit is contained in:
Charles Bochet 2023-12-01 16:29:49 +01:00
parent 97f154ef2c
commit 8bd567c2b4

View File

@ -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);