import { __ } from '@wordpress/i18n' import classNames from 'classnames' import { useGlobalStore } from '@library/state/GlobalState' import { useTemplatesStore } from '@library/state/Templates' export const TypeSelect = ({ className }) => { const updateType = useTemplatesStore((state) => state.updateType) const currentType = useGlobalStore( (state) => state?.currentType ?? 'pattern', ) return (