|
|
@@ -15,8 +15,8 @@ export const useSWRxInAppNotifications = <Data, Error>(
|
|
|
};
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
-export const useSWRxInAppNotificationStatus = <Data, Error>
|
|
|
- (): SWRResponse<number, Error> => {
|
|
|
+export const useSWRxInAppNotificationStatus = <Data, Error>(
|
|
|
+): SWRResponse<number, Error> => {
|
|
|
return useSWR(
|
|
|
['/in-app-notification/status'],
|
|
|
endpoint => apiv3Get(endpoint).then(response => response.data.count),
|