import { create } from "zustand";

const useFloatingDataStore = create((set) => ({
  floatingdata: [], // Initial state
  setfloatingadata: (newData: []) => set({ floatingdata: newData }), // Setter function
}));

export default useFloatingDataStore;
