From ae6ca57b45b4e4ad201793b8dc7f3535c43de976 Mon Sep 17 00:00:00 2001
From: Federico Brigante <me@fregante.com>
Date: Wed, 1 Nov 2023 12:24:19 +0800
Subject: Meta: Use new `select-dom` API (#6992)

---
 source/features/easy-toggle-commit-messages.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'source/features/easy-toggle-commit-messages.tsx')

diff --git a/source/features/easy-toggle-commit-messages.tsx b/source/features/easy-toggle-commit-messages.tsx
index 3c40d38f..d38078b1 100644
--- a/source/features/easy-toggle-commit-messages.tsx
+++ b/source/features/easy-toggle-commit-messages.tsx
@@ -1,4 +1,4 @@
-import select from 'select-dom';
+import {$} from 'select-dom';
 import * as pageDetect from 'github-url-detection';
 import delegate, {DelegateEvent} from 'delegate-it';
 
@@ -16,7 +16,7 @@ function toggleCommitMessage(event: DelegateEvent<MouseEvent>): void {
 		return;
 	}
 
-	select('.ellipsis-expander', event.delegateTarget)?.dispatchEvent(
+	$('.ellipsis-expander', event.delegateTarget)?.dispatchEvent(
 		new MouseEvent('click', {bubbles: true, altKey: event.altKey}),
 	);
 }
-- 
cgit v1.2.3

