()
| 8 | } |
| 9 | |
| 10 | export const useAdLabel = (): UseAdLabel => { |
| 11 | const variant = useFeature(featureAdLabel); |
| 12 | |
| 13 | return { |
| 14 | hideAdvertiser: !!variant && variant !== AdLabelVariant.Control, |
| 15 | showAdvertiseLink: variant !== AdLabelVariant.AdOnly, |
| 16 | }; |
| 17 | }; |
no test coverage detected