# extendify/3.2.1/src/PageCreator/state/cache.js

Extendify, version 3.2.1. 16 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/PageCreator/state/cache.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/PageCreator/state/cache.js
- Modified: 2025-03-13T17:10:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.2.1/code/src/PageCreator/state/cache.js#L10-L20`.

```javascript
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}`,
		},
	),
);

```
