diff --git a/client/src/components/HeroElement.jsx b/client/src/components/HeroElement.jsx
index 7d12d8d..fd3efb0 100644
--- a/client/src/components/HeroElement.jsx
+++ b/client/src/components/HeroElement.jsx
@@ -107,12 +107,15 @@ function content(element) {
case 'buttons':
return 1024 * 1024 && !confirm('This image is over 1 MB and may slow the page. Upload anyway?')) return
+ setUp(true)
+ try {
+ const { url } = await api.admin.upload(f)
+ onProps({ src: url })
+ } catch {
+ /* ignore */
+ } finally {
+ setUp(false)
+ }
+ }
return (
Uses the moon from the hero artwork.
+Using the default moon from the hero artwork.
+ )} + + {p.src && ( + onProps({ src: '' })}>Use default + )} +