/** * WordPress dependencies */ import { useSelect, useDispatch } from '@safe-wordpress/data'; /** * External dependencies */ import { TimeInput } from '@nelio-content/components'; /** * Internal dependencies */ import { useIsDisabled, useIsPublished } from '../hooks'; import { store as NC_POST_EDITOR } from '../store'; export const TimeSelector = (): JSX.Element => { const [ time, setTime ] = useTime(); const disabled = useIsDisabled(); const published = useIsPublished(); return (