%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/dopla/www/wp-content/plugins/ml-slider/extendify-sdk/src/state/
Upload File :
Create Path :
Current File : /home/dopla/www/wp-content/plugins/ml-slider/extendify-sdk/src/state/Importing.js

import create from 'zustand'
import { persist } from 'zustand/middleware'

export const useWantedTemplateStore = create(
    persist(
        (set) => ({
            wantedTemplate: {},
            importOnLoad: false,
            setWanted: (template) =>
                set({
                    wantedTemplate: template,
                }),
            removeWanted: () =>
                set({
                    wantedTemplate: {},
                }),
        }),
        {
            name: 'extendify-wanted-template',
        },
    ),
)

Zerion Mini Shell 1.0