Skip to content

Commit

Permalink
Now without concat
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Aug 27, 2024
1 parent dbe23a8 commit c592979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RangeCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { checkIfImageExists } from "../utils/globals";
import SouthEastIcon from "@mui/icons-material/SouthEast";

// const DEFAULT_IMAGE = `${window.location.origin}/app_static/img/default.jpg`;
const DEFAULT_IMAGE = CONCAT('${window.location.origin}/public/range-image/default.webp')
const DEFAULT_IMAGE = `${window.location.origin}/public/range-image/default.webp`

export default function RangeCard({ range, onSelectTour }) {
const [image, setImage] = useState(DEFAULT_IMAGE);
Expand Down

0 comments on commit c592979

Please sign in to comment.