Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backend/controller/reviewController.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,5 @@ export const deleteReview = async (req, res) => {
logger.error("deleteReview error", { error: error.message });
res.status(500).json({ message: "Server error" });
}
};
};
.catch(err => console.error("Promise.all failed:", err));
2 changes: 1 addition & 1 deletion frontend/src/pages/Collections.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const FilterContent = ({
max={maxPrice}
value={priceRange[1]}
onChange={(e) =>
setPriceRange([priceRange[0], parseInt(e.target.value)])
setPriceRange([priceRange[0], parseInt(e.target.value, 10)])
}
className="w-full h-2 bg-slate-300 dark:bg-gray-700 rounded-lg appearance-none cursor-pointer slider-thumb"
aria-valuemin={minPrice}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ui/ScrollStackItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const ScrollStack = ({
}

const newTransform = {
translateY: Math.round(translateY * 100) / 100,
translateY: Math.round(translateY * 100 + Number.EPSILON) / 100,
scale: Math.round(scale * 1000) / 1000,
rotation: Math.round(rotation * 100) / 100,
blur: Math.round(blur * 100) / 100,
Expand Down
2 changes: 1 addition & 1 deletion frontend/utils/Firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (missingFirebaseEnv.length > 0) {

// React hasn't mounted yet at this point, so we write directly to the DOM
// to avoid leaving the user with a silent blank white screen.
document.body.innerHTML = `
document.body.textContent = `
<div style="font-family: sans-serif; max-width: 480px; margin: 80px auto; padding: 24px; text-align: center; color: #333;">
<h2 style="color:#c0392b;">We're currently unavailable</h2>
<p>This application is temporarily unavailable due to a configuration issue. Please try again later or contact support.</p>
Expand Down
Loading