fix: build issues

This commit is contained in:
sriram veeraghanta
2024-03-06 19:52:40 +05:30
parent 66f2492e60
commit f188c9fdc5
30 changed files with 48 additions and 230 deletions
@@ -12,6 +12,7 @@ import { useEventTracker, useWorkspace } from "hooks/store";
// ui
// types
import { IWorkspace } from "@plane/types";
import { WorkspaceService } from "services/workspace.service";
type Props = {
onSubmit?: (res: IWorkspace) => Promise<void>;
@@ -27,7 +27,7 @@ export const WorkspaceSidebarQuickAction = observer(() => {
membership: { currentWorkspaceRole },
} = useUser();
const { storedValue } = useLocalStorage<Record<string, Partial<TIssue>>>("draftedIssue", {});
const { storedValue, setValue } = useLocalStorage<Record<string, Partial<TIssue>>>("draftedIssue", {});
//useState control for displaying draft issue button instead of group hover
const [isDraftButtonOpen, setIsDraftButtonOpen] = useState(false);