Add refresh buttons to these pages

This commit is contained in:
2026-01-30 23:04:42 -07:00
parent cec1e2c95d
commit f5f49c27ea
3 changed files with 36 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
import { faArrowsRotate } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
export function ReloadButton ({ action }: { action: () => void }) {
return (
<>
<div className='relative'>
<button
className='top-button absolute -top-4 -right-4'
onClick={action}
>
<FontAwesomeIcon icon={faArrowsRotate} />
</button>
</div>
</>
)
}