diff --git a/packages/edit-navigation/src/components/layout/use-menu-notifications.js b/packages/edit-navigation/src/components/layout/use-menu-notifications.js index b011b6fa19e3e..1b76ee82b7263 100644 --- a/packages/edit-navigation/src/components/layout/use-menu-notifications.js +++ b/packages/edit-navigation/src/components/layout/use-menu-notifications.js @@ -2,7 +2,7 @@ * WordPress dependencies */ import { useSelect, useDispatch } from '@wordpress/data'; -import { useEffect } from '@wordpress/i18n'; +import { useEffect } from '@wordpress/element'; export default function useMenuNotifications( menuId ) { const { lastSaveError, lastDeleteError } = useSelect( ( select ) => ( {