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
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const Header = () => {


// Fetching health status information at mount
loadHealthStatus().then(r => console.info(r));
loadHealthStatus();
// Fetch health status every minute
const interval = setInterval(() => { dispatch(fetchHealthStatus()); }, 5000);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const EventDetailsPublicationTab = ({
const publications = useAppSelector(state => getPublications(state));

useEffect(() => {
dispatch(fetchEventPublications(eventId)).then(r => console.info(r));
dispatch(fetchEventPublications(eventId));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const NewSourcePage = <T extends RequiredFormProps>({
dispatch(fetchRecordings("inputs"));

// validate form because dependent default values need to be checked
formik.validateForm().then(r => console.info(r));
formik.validateForm();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/RegistrationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const RegistrationModalContent = () => {
}>();

useEffect(() => {
fetchRegistrationInfos().then(r => console.log(r));
fetchRegistrationInfos();
fetchStatisticSummary();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
Expand Down
1 change: 0 additions & 1 deletion src/components/shared/TableFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ const TableFilters = ({
// simply by going to first page and then load resources.
// This helps increase performance by reducing the number of calls to load resources.
const applyFilterChangesDebounced = async () => {
console.log("Applying filter changes with value: " + itemValue);
// No matter what, we go to page one.
dispatch(goToPage(0));
// Reload of resource
Expand Down
2 changes: 0 additions & 2 deletions src/slices/notificationSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export const addNotification = (params: {
const state = getState();
for (const notif of state.notifications.notifications) {
if (notif.key === key && notif.context === context) {
console.log("Did not add notification with key " + key + " because a notification with that key already exists.");
return;
}
}
Expand Down Expand Up @@ -143,7 +142,6 @@ const notificationSlice = createSlice({
}>) {
const { notification, id } = action.payload;
if (state.notifications.filter(e => e.id === id).length > 0) {
console.log("Notification with id: " + id + " already exists.");
state.notifications = state.notifications.map(oldNotification => {
if (oldNotification.id === id) {
return {
Expand Down
Loading