From 6f0864f9b73568f46d7f2019d8ae54cad5b67bc8 Mon Sep 17 00:00:00 2001
From: Federico Brigante <github@bfred.it>
Date: Tue, 28 May 2019 13:56:27 +0800
Subject: Update `element-ready`

---
 source/features/remove-projects-tab.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'source/features/remove-projects-tab.tsx')

diff --git a/source/features/remove-projects-tab.tsx b/source/features/remove-projects-tab.tsx
index c5054fe8..8eb33551 100644
--- a/source/features/remove-projects-tab.tsx
+++ b/source/features/remove-projects-tab.tsx
@@ -1,8 +1,8 @@
 import React from 'dom-chef';
 import select from 'select-dom';
 import onetime from 'onetime';
+import elementReady from 'element-ready';
 import features from '../libs/features';
-import {safeElementReady} from '../libs/dom-utils';
 import {isUserProfile, isOwnOrganizationProfile, isOrganizationProfile} from '../libs/page-detect';
 
 const addNewProjectLink = onetime(() => {
@@ -33,7 +33,7 @@ const addNewProjectLink = onetime(() => {
 });
 
 async function init(): Promise<false | void> {
-	await safeElementReady(`
+	await elementReady(`
 		.orghead + *,
 		.repohead + *,
 		.user-profile-nav + *
-- 
cgit v1.2.3

