Augment outdated confirm text

This commit is contained in:
Sam Becker 2024-06-17 00:25:58 -05:00
parent 538d76f771
commit e9d1c66898

View File

@ -42,7 +42,7 @@ export default function AdminOutdatedClient({
className="primary"
onClick={async () => {
// eslint-disable-next-line max-len
if (window.confirm(`Are you sure you want to sync the oldest ${UPDATE_BATCH_SIZE} photos?`)) {
if (window.confirm(`Are you sure you want to sync the oldest ${UPDATE_BATCH_SIZE} photos? This action cannot be undone.`)) {
const photosToSync = photos
.slice(0, UPDATE_BATCH_SIZE)
.map(photo => photo.id);