2022-07-12 17:32:47 -05:00
|
|
|
import { useTranslation } from 'next-i18next'
|
|
|
|
|
|
|
|
export default function ({resetGist, undoGist}) {
|
|
|
|
const {t} = useTranslation(['app'])
|
|
|
|
|
2022-07-14 07:08:41 -05:00
|
|
|
return (<div className="flex flex-row gap-4 my-4">
|
2022-07-12 17:32:47 -05:00
|
|
|
<button className="btn btn-primary" onClick={undoGist}>{t('undo')}</button>
|
|
|
|
<button className="btn btn-primary" onClick={resetGist}>{t('reset_all')}</button>
|
2022-07-14 07:08:41 -05:00
|
|
|
</div>
|
2022-07-12 17:32:47 -05:00
|
|
|
)}
|