Skip to content

Conversation

@up1512001
Copy link
Member

@up1512001 up1512001 commented Dec 11, 2025

What

  • Fixes show more button issue of template sharing.

Why

part of https://github.com/rtCamp/OnePress/issues/55#issuecomment-3641522684

Checklist

  • I have read the Contribution Guidelines.
  • I have read the Development Guidelines.
  • My code is tested to the best of my abilities.
  • My code passes all lints (ESLint etc.).
  • My code has detailed inline documentation.
  • I have updated the project documentation as needed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a pagination issue in the template sharing feature by correcting the currentPage prop value passed to the BrandSiteTemplates component. Previously, it was hardcoded to 1, which prevented the "Show More" button from working properly when viewing templates from connected brand sites.

  • Changed the hardcoded currentPage={1} to use the dynamic currentPage state variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@up1512001 up1512001 merged commit 0bcbac0 into develop Dec 11, 2025
12 of 15 checks passed
@up1512001 up1512001 deleted the fix/qa-issues branch December 11, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants