yari icon indicating copy to clipboard operation
yari copied to clipboard

refactor(client/utils): improve docCategory()

Open caugner opened this issue 3 years ago • 1 comments

Summary

Fixes https://github.com/mdn/yari/issues/5637 by refactoring docCategory() and renaming it to getCategoryByPathname().


Screenshots

n/a


How did you test this change?

Not yet tested.

caugner avatar Sep 14 '22 17:09 caugner

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Oct 06 '22 15:10 github-actions[bot]