/** * WordPress dependencies */ import { useSelect, useDispatch } from '@safe-wordpress/data'; import { _x } from '@safe-wordpress/i18n'; /** * External dependencies */ import { AuthorSearcher } from '@nelio-content/components'; import { store as NC_DATA } from '@nelio-content/data'; import type { Maybe, UserId } from '@nelio-content/types'; /** * Internal dependencies */ import { store as NC_TASK_PRESETS } from '~/nelio-content-pages/settings/task-presets/store'; export const Assignee = (): JSX.Element | null => { const [ assigneeId, setAssigneeId ] = useAssigneeId(); const isMultiAuthor = useIsMultiAuthor(); if ( ! isMultiAuthor ) { return null; } return (