Format code

This commit is contained in:
cacapouh 2023-11-12 19:30:56 +09:00
parent 3ec43829f1
commit b2a2331171

View file

@ -69,9 +69,9 @@ const MessagesTable: React.FC = () => {
};
const jsonString = JSON.stringify(messages);
const content = new Blob([jsonString], { type: 'application/json' })
download("download.json", content);
}
const content = new Blob([jsonString], { type: 'application/json' });
download('download.json', content);
};
return (
<div style={{ position: 'relative' }}>
@ -158,7 +158,13 @@ const MessagesTable: React.FC = () => {
>
Next
</Button>
<Button buttonType="secondary" buttonSize="L" onClick={handleDownload}>Download</Button>
<Button
buttonType="secondary"
buttonSize="L"
onClick={handleDownload}
>
Download
</Button>
</S.Pages>
</S.Pagination>
</div>