mirror of
https://github.com/makeplane/plane.git
synced 2026-05-04 15:09:50 -05:00
fix: build issues
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user