Description
On the /community page, the "More PR Submission Details" button (located under the "If you find a new issue" section) appears interactive and has CSS hover effects, but clicking it does absolutely nothing.
Root Cause
In src/pages/community.tsx (line 190), the <Button> component is missing the required path prop:
// Current Broken Implementation
<Button as="link" outline={true} text={submittingIssues[2].button.text} />
Because the path prop is omitted, the underlying <a> tag evaluates to <a href={undefined}>. Browsers treat an anchor tag without a destination as a placeholder — the CSS hover animations still trigger, but the click event is swallowed and nothing happens.
Proposed Solution
The data object submittingIssues[2].button already contains the correct intended URL (https://github.com/containers/podman/blob/main/CONTRIBUTING.md#submitting-pull-requests).
The fix is a simple one-line change to pass the path prop into the Button component:
- <Button as="link" outline={true} text={submittingIssues[2].button.text} />
+ <Button as="link" outline={true} text={submittingIssues[2].button.text} path={submittingIssues[2].button.path} />
Additional Context
This is a straightforward fix I'll open a quick PR to fix this!
Description
On the
/communitypage, the "More PR Submission Details" button (located under the "If you find a new issue" section) appears interactive and has CSS hover effects, but clicking it does absolutely nothing.Root Cause
In
src/pages/community.tsx(line 190), the<Button>component is missing the requiredpathprop:Because the
pathprop is omitted, the underlying<a>tag evaluates to<a href={undefined}>. Browsers treat an anchor tag without a destination as a placeholder — the CSS hover animations still trigger, but the click event is swallowed and nothing happens.Proposed Solution
The data object
submittingIssues[2].buttonalready contains the correct intended URL (https://github.com/containers/podman/blob/main/CONTRIBUTING.md#submitting-pull-requests).The fix is a simple one-line change to pass the
pathprop into the Button component:Additional Context
This is a straightforward fix I'll open a quick PR to fix this!