diff --git a/src/components/Summary.tsx b/src/components/Summary.tsx index dc29095c1..a4adc76b0 100644 --- a/src/components/Summary.tsx +++ b/src/components/Summary.tsx @@ -1,6 +1,6 @@ import clsx from "clsx"; -import React, { useState } from "react"; import Image from "next/image"; +import React, { useState } from "react"; export type SummaryLinksProps = { id: string; @@ -77,7 +77,7 @@ const Summary = ({ href={`#${sublink.targetId}`} role="menuitem" className="block p-2 hover:text-red1" - onClick={(e) => { + onClick={() => { setOpenMenu(""); }} >