I have updated the component (converted the .hbs and .js files to .gjs via discourse-gjs-codemod).
While the pull request is under review, you can test it using this temporary fork and the gjs-migration branch: GitHub - newbit1337/discourse-custom-profile-link at gjs-migration · GitHub The branch will remain available until the pull request is accepted.
newbit1337