diff --git a/components/avatar.js b/components/avatar.js
index 2e71b330..e9d08c32 100644
--- a/components/avatar.js
+++ b/components/avatar.js
@@ -9,13 +9,14 @@ import { useShowModal } from './modal'
export default function Avatar ({ onSuccess }) {
const [uploading, setUploading] = useState()
- const ref = useRef()
- const [scale, setScale] = useState(1)
const showModal = useShowModal()
const Body = ({ onClose, file, upload }) => {
+ const [scale, setScale] = useState(1)
+ const ref = useRef()
+
return (
-
+
- setScale(parseFloat(e.target.value))}
+ setScale(parseFloat(e.target.value))}
min={1} max={2} step='0.05'
- defaultValue={scale}
+ // defaultValue={scale}
/>
-
diff --git a/components/job-form.js b/components/job-form.js
index c484e0a5..d710a2fb 100644
--- a/components/job-form.js
+++ b/components/job-form.js
@@ -80,7 +80,7 @@ export default function JobForm ({ item, sub }) {
} else {
await router.push(`/~${sub.name}/recent`)
}
- }, [upsertJob, router])
+ }, [upsertJob, router, item?.id, sub?.name, logoId])
const invoiceableUpsertJob = useInvoiceable(submitUpsertJob, { requireSession: true })
diff --git a/pages/settings.js b/pages/settings.js
index ce2b1c40..2ed3b14e 100644
--- a/pages/settings.js
+++ b/pages/settings.js
@@ -52,7 +52,7 @@ export default function Settings ({ ssrData }) {
return (
-
+
saturday newsletter
(re)subscribe
{settings?.authMethods &&
}