What did you do to debug it?
Looking at the javascript console in the browser is always a good start.
If you take a look, there are three obvious issues (ultimately).
The solution is pretty straightforward in this case, you just need to supply the missing constants:
const UserMenuAction = {
QUICK_ACCESS: "quickAccess",
};
const QuickAccess = {
BOOKMARKS: "bookmarks",
MESSAGES: "messages",
NOTIFICATIONS: "notifications",
PROFILE: "profile",
};
const Titles = {
bookmarks: "user.bookmarks",
messages: "user.private_messages",
notifications: "user.notifications",
profile: "user.preferences",
};
Once you add these (from the original source code), it works ![]()
(But see Faizaan’s optimisation below that negates the need for these, which is even better
)