import { useSelector } from './Store' ; import { Anchor } from '~/components/lwjgl/Anchor' ; import type { BuildStore } from './types' ; const selector = ( state ) => state . version ; export const BuildReleaseNotes = ( ) => { const version = useSelector ( selector ) ; return ( < p > < Anchor css = { { fontSize : '$xs' } } href = { `https://github.com/LWJGL/lwjgl3/releases/tag/${ version }` } rel = "noopener external" target = "_blank" > release notes for { version } < /Anchor> < /p>); } ;