Skip to content

Use URL_PARAMS constant instead of hardcoded parameter in merch-list.tsx #986

@coderabbitai

Description

@coderabbitai

Description

In src/widgets/merch-catalog/ui/merch-list/merch-list.tsx around line 37, a hardcoded URL parameter string '?page=1' is used in router.push() instead of the newly introduced URL_PARAMS.PAGE constant from src/shared/constants.ts.

This should be updated to use the centralized URL_PARAMS.PAGE constant for consistency with the rest of the codebase.

Context

Location

  • File: src/widgets/merch-catalog/ui/merch-list/merch-list.tsx
  • Approximate line: 37

Metadata

Metadata

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions