How to use the netlify-cms-lib-util.localForage.removeItem function in netlify-cms-lib-util

To help you get started, we’ve selected a few netlify-cms-lib-util examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github netlify / netlify-cms / packages / netlify-cms-core / src / backend.ts View on Github external
async deleteLocalDraftBackup(collection: Collection, slug: string) {
    const key = getEntryBackupKey(collection.get('name'), slug);
    await localForage.removeItem(key);
    return this.deleteAnonymousBackup();
  }
github netlify / netlify-cms / packages / netlify-cms-core / src / backend.ts View on Github external
deleteAnonymousBackup() {
    return localForage.removeItem(getEntryBackupKey());
  }