(tag: string)
| 147 | }), |
| 148 | }); |
| 149 | const bestOfTag = (tag: string): MenuItem => ({ |
| 150 | id: 'best_of', |
| 151 | label: `Best of #${tag}`, |
| 152 | icon: icon.trending, |
| 153 | href: `${webappUrl}tags/${encodeURIComponent(tag)}/best-of`, |
| 154 | }); |
| 155 | |
| 156 | switch (context.kind) { |
| 157 | case 'post': { |