mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-25 14:57:21 +01:00
clean up
This commit is contained in:
parent
defbb41648
commit
f94919cb9c
1 changed files with 0 additions and 2 deletions
|
@ -8,8 +8,6 @@ import getUserName from '@/misc/get-user-name';
|
||||||
import { swLang } from '@client/sw/lang';
|
import { swLang } from '@client/sw/lang';
|
||||||
import { I18n } from '@/misc/i18n';
|
import { I18n } from '@/misc/i18n';
|
||||||
import { pushNotificationDataMap } from '@client/sw/types';
|
import { pushNotificationDataMap } from '@client/sw/types';
|
||||||
import { apiFetch } from './operations';
|
|
||||||
import { getAccountFromId } from '@client/scripts/get-account-from-id';
|
|
||||||
|
|
||||||
export async function createNotification<K extends keyof pushNotificationDataMap>(data: pushNotificationDataMap[K]) {
|
export async function createNotification<K extends keyof pushNotificationDataMap>(data: pushNotificationDataMap[K]) {
|
||||||
const n = await composeNotification(data);
|
const n = await composeNotification(data);
|
||||||
|
|
Loading…
Reference in a new issue