| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | // Entries are shaped like the save endpoint's request body so replay is just |
| 2 | 2 | // save(entry). Cap protects localStorage size. |
| 3 | + | |
| 4 | +import { track } from '@shared/lib/track'; | |
| 3 | 5 | import { __, sprintf } from '@wordpress/i18n'; |
| 4 | 6 | import { |
| 5 | 7 | save, |
| 6 | 8 | saveProduct, |
| @@ -7,9 +9,8 @@ | ||
| 7 | 9 | saveSiteIdentity, |
| 8 | 10 | saveWpFormsField, |
| 9 | 11 | saveWpNavigationItem, |
| 10 | 12 | } from '../lib/api'; |
| 11 | -import { track } from '../lib/insights'; | |
| 12 | 13 | |
| 13 | 14 | const STORAGE_KEY = 'extendify-quick-edit-undo-stack-v1'; |
| 14 | 15 | const MAX_DEPTH = 5; |
| 15 | 16 | const ANNOUNCE_KEY = 'extendify-quick-edit-undo-announce'; |