refactor: remove unused notification permission hook and related code
This commit is contained in:
@@ -12,7 +12,7 @@ const MAX_LOG_NUM = 1000;
|
||||
|
||||
export type LogLevel = "debug" | "info" | "warning" | "error" | "all";
|
||||
|
||||
export interface ILogItem {
|
||||
interface ILogItem {
|
||||
time?: string;
|
||||
type: string;
|
||||
payload: string;
|
||||
|
||||
@@ -7,9 +7,9 @@ import {
|
||||
} from "@/services/cmds";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
export type LogLevel = "debug" | "info" | "warning" | "error" | "all";
|
||||
type LogLevel = "debug" | "info" | "warning" | "error" | "all";
|
||||
|
||||
export interface ILogItem {
|
||||
interface ILogItem {
|
||||
time?: string;
|
||||
type: string;
|
||||
payload: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export interface NoticeItem {
|
||||
interface NoticeItem {
|
||||
id: number;
|
||||
type: "success" | "error" | "info";
|
||||
message: ReactNode;
|
||||
|
||||
Reference in New Issue
Block a user