Revert "Fix torrent speeds unit"

This reverts commit b60be13ab9.
This commit is contained in:
Tagaishi
2023-11-02 11:35:17 +01:00
parent b60be13ab9
commit 832276e80e

View File

@@ -83,14 +83,14 @@ export const BitTorrentQueueItem = ({ torrent, width, app }: TorrentQueueItemPro
{width > MIN_WIDTH_MOBILE && ( {width > MIN_WIDTH_MOBILE && (
<td> <td>
<Text className={classes.noTextBreak} size="xs"> <Text className={classes.noTextBreak} size="xs">
{downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} MB/s` : '-'} {downloadSpeed > 0 ? `${downloadSpeed.toFixed(1)} Mb/s` : '-'}
</Text> </Text>
</td> </td>
)} )}
{width > MIN_WIDTH_MOBILE && ( {width > MIN_WIDTH_MOBILE && (
<td> <td>
<Text className={classes.noTextBreak} size="xs"> <Text className={classes.noTextBreak} size="xs">
{uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} MB/s` : '-'} {uploadSpeed > 0 ? `${uploadSpeed.toFixed(1)} Mb/s` : '-'}
</Text> </Text>
</td> </td>
)} )}