mirror of
https://github.com/makeplane/plane.git
synced 2026-09-03 12:50:29 +02:00
@@ -34,7 +34,7 @@ export const ProjectFeatureUpdate: FC<Props> = observer((props) => {
|
||||
</div>
|
||||
<ProjectFeaturesList workspaceSlug={workspaceSlug} projectId={projectId} isAdmin />
|
||||
<div className="flex items-center justify-between gap-2 mt-4 px-4 pt-4 pb-2 border-t border-custom-border-100">
|
||||
<div className="text-sm text-custom-text-300 font-medium">
|
||||
<div className="flex gap-1 text-sm text-custom-text-300 font-medium">
|
||||
Congrats! Project <Logo logo={currentProjectDetails.logo_props} />{" "}
|
||||
<p className="break-all">{currentProjectDetails.name}</p> created.
|
||||
</div>
|
||||
|
||||
@@ -271,20 +271,6 @@ export const useMultipleSelect = (props: Props) => {
|
||||
[disabled, entitiesList, handleEntitySelection, isGroupSelected]
|
||||
);
|
||||
|
||||
// clear selection on escape key press
|
||||
useEffect(() => {
|
||||
if (disabled) return;
|
||||
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (e.key === "Escape") clearSelection();
|
||||
};
|
||||
|
||||
window.addEventListener("keydown", handleKeyDown);
|
||||
return () => {
|
||||
window.removeEventListener("keydown", handleKeyDown);
|
||||
};
|
||||
}, [clearSelection, disabled]);
|
||||
|
||||
// select entities on shift + arrow up/down key press
|
||||
useEffect(() => {
|
||||
if (disabled) return;
|
||||
|
||||
Reference in New Issue
Block a user