An open source design system that's fully customizable and agent ready
TypeScript
refactor(core): drop the xds-resizable localStorage legacy fallback (#3066)
EJ Hammonde457dac57f89
diff --git a/packages/core/src/Resizable/useResizable.ts b/packages/core/src/Resizable/useResizable.tsindex 5422a223e4..a74e391383 100644--- a/packages/core/src/Resizable/useResizable.ts+++ b/packages/core/src/Resizable/useResizable.ts@@ -107,10 +107,6 @@ export interface ResizableProps {const DEFAULT_MIN = 50;const DEFAULT_COLLAPSED_SIZE = 40;const STORAGE_PREFIX = 'astryx-resizable:';-// Legacy key prefix read during the compat window so persisted panel sizes-// survive the xds -> astryx rename. Read-only fallback; we always write the-// new prefix. Removed at final cutover.-const LEGACY_STORAGE_PREFIX = 'xds-resizable:';// =============================================================================// Helpers@@ -147,9 +143,7 @@ function loadPersistedSize(key: string): number | null {return null;}try {- const raw =- localStorage.getItem(STORAGE_PREFIX + key) ??- localStorage.getItem(LEGACY_STORAGE_PREFIX + key);+ const raw = localStorage.getItem(STORAGE_PREFIX + key);if (raw != null) {const parsed = JSON.parse(raw);if (typeof parsed === 'number') {