You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix canonical URL generation for first page in pagination
The previous update to `setPaginationLinks` aimed to remove `?page=1` from the canonical URL on the first page but contained an error that caused the code to fail despite passing tests. This commit addresses the issue by fixing the logic to ensure the canonical link is corrected properly. Added thorough validation to ensure the functionality behaves as expected.
0 commit comments