Jacky Zhao
2025-03-31 9ee6fe15fdb0476aa859edc189784b878b8cf582
fix: reproducible overflowlist (closes #1885)
1 files modified
5 ■■■■■ changed files
quartz/components/OverflowList.tsx 5 ●●●●● patch | view | raw | blame | history
quartz/components/OverflowList.tsx
@@ -1,5 +1,4 @@
import { JSX } from "preact"
import { randomIdNonSecure } from "../util/random"
const OverflowList = ({
  children,
@@ -13,8 +12,10 @@
  )
}
let numExplorers = 0
export default () => {
  const id = randomIdNonSecure()
  const id = `list-${numExplorers++}`
  console.log(id)
  return {
    OverflowList: (props: JSX.HTMLAttributes<HTMLUListElement>) => (