Skip to content

HK: Replace literal "/search" with corresponding route constant

Administrator requested to merge og/search-route-constant into main

Created by: oleggromov

Problem

Somewhere in the codebase we've had literal "/search" URL, which is error-prone should we ever want to change URL.

Solution

Import PageRoutes and use constant instead of the literal value.

NB: I haven't replaced values in tests and stories.

Merge request reports

Loading