updated distanceLine and fix drag bug

This commit is contained in:
Nalvazhuthi
2025-03-31 18:22:40 +05:30
parent 7c85d2041e
commit 9611ad69cf
7 changed files with 535 additions and 151 deletions

View File

@@ -0,0 +1,8 @@
import { create } from "zustand";
const useFloatingDataStore = create((set) => ({
floatingdata: [], // Initial state
setfloatingadata: (newData: []) => set({ floatingdata: newData }), // Setter function
}));
export default useFloatingDataStore;