Skip to content

Commit

Permalink
Merge branch 'epic-base' of https://github.com/dappforce/grillchat in…
Browse files Browse the repository at this point in the history
…to deploy/epic
  • Loading branch information
teodorus-nathaniel committed Jul 10, 2024
2 parents 821f691 + dc0127a commit 677b9b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/extensions/image/ImageModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ function ImageUpload({ initialImage, setUploadedImageLink }: ImageUploadProps) {
clearImage={() => setImageUrl('')}
src={imageUrl}
onLoad={() => {
// To prevent this called first before the useEffect, which causes image rendered, but the link is null
setTimeout(() => {
currentLoadedImage.current = imageUrl
setUploadedImageLink((prev) => ({ ...prev, loadedLink: imageUrl }))
Expand Down
5 changes: 5 additions & 0 deletions src/pages/api/healthcheck.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { NextApiRequest, NextApiResponse } from 'next'

export default function handler(_: NextApiRequest, res: NextApiResponse) {
res.json({ operational: true })
}

0 comments on commit 677b9b6

Please sign in to comment.