lbry-desktop/ui/util/notifications.js

4 lines
117 B
JavaScript
Raw Normal View History

// @flow
export const buildUnseenCountStr = (unseenCount: number) => (unseenCount > 99 ? '99+' : `${unseenCount}`);