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.

606 B
Raw Blame
'use client';

import { shallow } from 'zustand/shallow';
import { createWithEqualityFn } from 'zustand/traditional';

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

import { type Store } from './action';
import { store } from './action';

export type { PublicState, State } from './initialState';

const devtools = createDevtools('group_profile');

export const useGroupProfileStore = createWithEqualityFn<Store>()(devtools(store), shallow);

expose('groupProfile', useGroupProfileStore);

export { selectors } from './selectors';