[hotpicks] onKeyUp -> onkeydown 변경건.

- 변경건.
This commit is contained in:
junghoon86.park
2024-03-19 20:02:36 +09:00
parent 04f0e58802
commit 2c11f4b257

View File

@@ -13,7 +13,7 @@ import css from "./TCFI.module.less";
const SpottableComponent = Spottable("div");
const Container = SpotlightContainerDecorator(
{ enterTo: "last-focused", leaveFor: { right: "" } },
{ enterTo: "last-focused", leaveFor: { right: "" }, preserveId: true },
"div"
);
export default function TCFI({ className, data, orders }) {
@@ -57,7 +57,7 @@ export default function TCFI({ className, data, orders }) {
<SpottableComponent
className={css.fullImg}
spotlightId={spotName}
onKeyUp={(e) => {
onKeydown={(e) => {
handleKeyDown(e);
}}
onClick={handleItemClick}