[examples/openspending][sm] - 5mb to 500kb on preview

This commit is contained in:
Luccas Mateus de Medeiros Gomes
2023-06-02 09:38:13 -03:00
parent e50c76090c
commit 95fd8e72df
2 changed files with 17 additions and 8 deletions

View File

@@ -189,8 +189,8 @@ export default function ProjectPage({
{file.name}
{file.format ? `.${file.format}` : ''}
</h4>
{file.bytes >= 5132288 && (
<span>Previewing 5MB out of {size}</span>
{file.bytes >= 512000 && (
<span>Previewing 500KB out of {size}</span>
)}
<div className="mt-5">
<FlatUiTable