diff --git a/src/app/App.tsx b/src/app/App.tsx
index b283b7d..93df018 100644
--- a/src/app/App.tsx
+++ b/src/app/App.tsx
@@ -16,7 +16,6 @@ function App() {
const whiteLabel = getWhitelabel()
const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json"
- // const defaultPath = "/AdaptiveAgriculture/manifest.json";
const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement
fetch(manifestPath).then(response => {
diff --git a/src/app/NotificationDrawer.tsx b/src/app/NotificationDrawer.tsx
index 947d87d..c10e03b 100644
--- a/src/app/NotificationDrawer.tsx
+++ b/src/app/NotificationDrawer.tsx
@@ -139,7 +139,7 @@ export default function NotificationDrawer(props: Props) {
setNotifications(new Map());
if (!notification.settings?.sourceType) return;
if (!notification.settings?.sourceKey) return;
- let url = "/" + notification.settings?.sourceType + "/" + notification.settings?.sourceKey;
+ let url = "/" + notification.settings?.sourceType + "s/" + notification.settings?.sourceKey;
history(url); //in order to update the history stack add '{ replace: true }' as a second parameter
};
diff --git a/src/navigation/Router.tsx b/src/navigation/Router.tsx
index 2c42364..a3907be 100644
--- a/src/navigation/Router.tsx
+++ b/src/navigation/Router.tsx
@@ -152,8 +152,8 @@ export default function Router(props: Props) {
{/* Redirects */}
} />
- } />
- } />
+ {/* } /> */}
+ {/* } /> */}
{/* Page routes */}
Hello!} />
diff --git a/src/pages/Devices.tsx b/src/pages/Devices.tsx
index 3b27752..1a14378 100644
--- a/src/pages/Devices.tsx
+++ b/src/pages/Devices.tsx
@@ -169,7 +169,6 @@ export default function Devices() {
if (groupsLoading) return
if (groups.length > 0) return
setGroupsLoading(true)
- console.log("groups")
groupAPI.listGroups(
groupLimit,
groupPage*groupLimit,
diff --git a/src/providers/http.tsx b/src/providers/http.tsx
index 368a851..6a77ad3 100644
--- a/src/providers/http.tsx
+++ b/src/providers/http.tsx
@@ -79,10 +79,7 @@ export default function HTTPProvider(props: Props) {
function get(url: string, spreadOptions?: AxiosRequestConfig): Promise> {
if (isTokenExpired(token)) {
- console.log("token expired")
loginWithPopup()
- } else {
- console.log("token is fine")
}
return axios.get(url, {...defaultOptions(), ...spreadOptions});
}