File "cache.js"
Full Path: /home/leadltht/fastlinkinternet.com/admin/wp-content/wp-content/wp-content/plugins/extendify/src/PageCreator/state/cache.js
File size: 387 bytes
MIME-type: text/x-java
Charset: utf-8
import { create } from 'zustand';
import { persist } from 'zustand/middleware';
export const usePageDescriptionStore = create(
persist(
(set) => ({
description: null,
setDescription: (description) => set({ description }),
reset: () => set({ description: null }),
}),
{
name: `extendify-page-creator-page-description-cache-${window.extSharedData.siteId}`,
},
),
);