import TermBox, {type Props as TermBoxProps} from '@/components/ui/TermBox' import {cn, getGroupByTermId} from '@/lib/utils' import {useGlobalContext} from '@/term-merger/context' import {ActionType} from '@/term-merger/reducer' import useGetTermsQuery from '@/term-merger/useGetTermsQuery' import type {Term} from '@/types' import {__} from '@wordpress/i18n' import {ReactNode} from 'react' export default function AllTermsList() { const { dispatch, state: { selected, terms, termOrders, }, } = useGlobalContext() useGetTermsQuery() return (
{__('No terms found.', 'swpmu-term-merger')}
| {label} | {value} |
|---|
{__('Please create a group to assign this term.', 'swpmu-term-merger')}
)}