Skip to content

Commit 58430ae

Browse files
committed
rename
1 parent 403c942 commit 58430ae

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

site/src/api/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,7 @@ class ApiMethods {
23712371
await this.axios.post<void>("/api/v2/notifications/test");
23722372
};
23732373

2374-
createNotificationPushSubscription = async (
2374+
createWebPushSubscription = async (
23752375
userId: string,
23762376
req: TypesGen.WebpushSubscription,
23772377
) => {
@@ -2381,7 +2381,7 @@ class ApiMethods {
23812381
);
23822382
};
23832383

2384-
deleteNotificationPushSubscription = async (
2384+
deleteWebPushSubscription = async (
23852385
userId: string,
23862386
req: TypesGen.DeleteWebpushSubscription,
23872387
) => {

site/src/contexts/useWebpushNotifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const useWebpushNotifications = (): WebpushNotifications => {
6767
throw new Error("No keys or endpoint found");
6868
}
6969

70-
await API.createNotificationPushSubscription("me", {
70+
await API.createWebPushSubscription("me", {
7171
endpoint: json.endpoint,
7272
auth_key: json.keys.auth,
7373
p256dh_key: json.keys.p256dh,

site/src/modules/dashboard/Navbar/NavbarView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const NavbarView: FC<NavbarViewProps> = ({
6363

6464
<NavItems className="ml-4" />
6565

66-
<div className=" hidden md:flex items-center gap-3 ml-auto">
66+
<div className="flex items-center gap-3 ml-auto">
6767
{proxyContextValue && (
6868
<div className="hidden md:block">
6969
<ProxyMenu proxyContextValue={proxyContextValue} />

0 commit comments

Comments
 (0)