Skip to content

The open alternative to Salesforce, designed for AI.

291 B
Raw Blame
import { type FrontComponentStorageScope } from '@/types/FrontComponentStorageScope';

export const deleteFrontComponentStorageItem = ({
  namespace,
  storageType,
  key,
}: FrontComponentStorageScope & { key: string }): void => {
  window[storageType].removeItem(`${namespace}${key}`);
};