Skip to content

Commit

Permalink
Merge branch 'main' into chore/build-arm-image
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Nov 21, 2024
2 parents c2a4dc6 + 0b81b89 commit 13a2205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import applications from "#civicsignalblog/payload/lib/data/common/applications"

function CustomSelectComponent({ path, label }) {
const { user } = useAuth();
const { value, setValue } = useField<string>({ path });
const { value, setValue } = useField({ path });
const [options, setOptions] = useState([]);

useEffect(() => {
Expand All @@ -32,7 +32,7 @@ function CustomSelectComponent({ path, label }) {
path={path}
name={path}
options={options}
value={value}
value={String(value ?? "")}
onChange={(e) => setValue(e.value)}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/climatemappedafrica/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const start = async (): Promise<void> => {
transportOptions: {
auth: {
user: process.env.SMTP_USER || "apikey",
apiKey: smtpAuthPass,
pass: smtpAuthPass,
},
host: process.env.SMTP_HOST || "smtp.sendgrid.net",
port: smtpPort,
Expand Down

0 comments on commit 13a2205

Please sign in to comment.