Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 26, 2024
1 parent adde573 commit a13e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index/MapsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Card, Columns } from "react-bulma-components";
export function MapsList() {
const { isPending, data } = useQuery({
queryKey: ["portal-layers"],
queryFn: () => mapApi(`portal-maps/?portal__uuid=${window.PORTAL_KEY}`),
queryFn: () => mapApi(`portal-maps/?portal=${window.PORTAL_KEY}`),
});

if (isPending) {
Expand Down

0 comments on commit a13e55d

Please sign in to comment.