Skip to content

Commit d228b51

Browse files
committed
Fix
1 parent 6f01468 commit d228b51

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/src/pages/Prodaja.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function Prodaja() {
5454
}
5555
};
5656
fetchLocations();
57-
}, []);
57+
}, [selectedLocationId]);
5858

5959
const fetchArticles = async () => {
6060
try {

frontend/src/pages/admin/UkupniIzvjestaj.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ export default function UkupniIzvjestaj() {
315315
value={dateRange}
316316
onChange={() => {}} // Prevent default onChange behavior
317317
onClickDay={handleCalendarDayClick}
318-
onActiveStartDateChange={({ activeStartDate }) => setCalendarMonth(activeStartDate)}
319318
tileClassName={({ date, view }) => {
320319
const now = new Date();
321320
const isToday = date.getDate() === now.getDate() &&

0 commit comments

Comments
 (0)