Skip to content

Commit

Permalink
Run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Apr 13, 2022
1 parent 135e72d commit fb3c033
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/notification/NotificationController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function getRestrictedMessenger(
}) as NotificationMessenger;
}

const SNAP_NAME = 'Test Snap Name';
const origin = 'snap_test';
const message = 'foo';

Expand Down
6 changes: 1 addition & 5 deletions src/notification/NotificationController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { hasProperty } from '../util';
import { BaseController } from '../BaseControllerV2';

import type { RestrictedControllerMessenger } from '../ControllerMessenger';
import type { GetSubjectMetadataState } from '../subject-metadata';

/**
* @type NotificationState
Expand Down Expand Up @@ -133,10 +132,7 @@ export class NotificationController extends BaseController<
}: {
messenger: NotificationMessenger;
state?: Partial<NotificationState>;
showNativeNotification: (
origin: string,
message: string
) => void;
showNativeNotification: (origin: string, message: string) => void;
}) {
super({
name,
Expand Down

0 comments on commit fb3c033

Please sign in to comment.