Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
luccasmmg committed Dec 2, 2024
1 parent f227b80 commit 7ec8708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Search({
}
}, [])

const debouncedOnMapViewportChange = useDebouncedCallback((v) => {
const debouncedOnMapViewportChange = useDebouncedCallback((v: any) => {
setViewState(v)
}, 250)

Expand Down
1 change: 1 addition & 0 deletions deployment/frontend/src/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export const authOptions: NextAuthOptions = {
const user: CkanResponse<
User & { frontend_token: string }
> = await userRes.json()
console.log('USER', user)

if ((user.result as any).errors) {
// TODO: error from the response should be sent to the client, but it's not working
Expand Down
2 changes: 1 addition & 1 deletion deployment/frontend/src/utils/notify.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { toast, ToastContent, ToastOptions } from "react-toastify";

export default function notify(
text: ToastContent,
text: any,
severity: "success" | "error" = "success"
) {
/*
Expand Down

0 comments on commit 7ec8708

Please sign in to comment.