Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

404 B
Raw Blame
import { shallow } from 'zustand/shallow';
import { createWithEqualityFn } from 'zustand/traditional';

import { createDevtools } from '@/store/middleware/createDevtools';

import { type ArtboardState, initialState } from './initialState';

const devtools = createDevtools('artboard');

export const useArtboardStore = createWithEqualityFn<ArtboardState>()(
  devtools(() => initialState),
  shallow,
);