Fix billing and usage MAU units

This commit is contained in:
Joshen Lim committed 2022-09-12 10:04:15 +08:00
1 parent bbafed9e12
commit 2a545f1067
1 file changed
+5 -1
@@ -144,7 +144,11 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
}
/>
) : (
<span>{formatBytes(featureUsage.usage)}</span>
<span>
{feature.units === 'bytes'
? formatBytes(featureUsage.usage)
: ''}
</span>
)}
</td>
</>