Format code
This commit is contained in:
parent
3ec43829f1
commit
b2a2331171
1 changed files with 10 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue