From b7af61d770510b1c797e1c7137a4da934cdca7a2 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sun, 24 Nov 2024 23:43:28 +0000 Subject: example: cleanup --- examples/js/notifications/notifications/NotificationPopups.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/js/notifications') diff --git a/examples/js/notifications/notifications/NotificationPopups.tsx b/examples/js/notifications/notifications/NotificationPopups.tsx index a8088c9..9b84d84 100644 --- a/examples/js/notifications/notifications/NotificationPopups.tsx +++ b/examples/js/notifications/notifications/NotificationPopups.tsx @@ -2,7 +2,7 @@ import { Astal, Gtk, Gdk } from "astal/gtk3" import Notifd from "gi://AstalNotifd" import Notification from "./Notification" import { type Subscribable } from "astal/binding" -import { GLib, Variable, bind, timeout } from "astal" +import { Variable, bind, timeout } from "astal" // see comment below in constructor const TIMEOUT_DELAY = 5000 @@ -23,7 +23,7 @@ class NotifiationMap implements Subscribable { this.var.set([...this.map.values()].reverse()) } - private constructor() { + constructor() { const notifd = Notifd.get_default() /** -- cgit v1.2.3