mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-28 17:53:21 +08:00
chore: add data storage banner (#4)
* chore: stash * chore: add data storage banner * chore: update
This commit is contained in:
@ -36,13 +36,11 @@ const SettingModal = (props: Props) => {
|
||||
<div className="w-full flex flex-col justify-start items-start space-y-3 pt-4">
|
||||
<h3>Danger Zone</h3>
|
||||
<div className="w-full border border-red-200 p-4 rounded-lg">
|
||||
<div className="w-full flex flex-col justify-start items-start gap-2">
|
||||
<h4 className="w-full flex flex-row justify-between items-center leading-8">
|
||||
<span>Clear all data</span>
|
||||
<button className="btn btn-sm btn-error" onClick={() => toggleClearDataConfirmModal(true)}>
|
||||
Clear
|
||||
</button>
|
||||
</h4>
|
||||
<div className="w-full flex flex-row justify-between items-center gap-2">
|
||||
<span>Clear all data</span>
|
||||
<button className="btn btn-sm btn-error" onClick={() => toggleClearDataConfirmModal(true)}>
|
||||
Clear
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user