summaryrefslogtreecommitdiff
path: root/source/features/remove-projects-tab.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-05-28 13:56:27 +0800
committerGravatar Federico Brigante <github@bfred.it> 2019-05-28 13:56:27 +0800
commit6f0864f9b73568f46d7f2019d8ae54cad5b67bc8 (patch)
tree45219ddc04eab8a994beb5039c95b8332688749b /source/features/remove-projects-tab.tsx
parent44c3bf314b655b31e23ab36aeead8077a2a8bf93 (diff)
downloadrefined-github-6f0864f9b73568f46d7f2019d8ae54cad5b67bc8.tar.gz
refined-github-6f0864f9b73568f46d7f2019d8ae54cad5b67bc8.tar.zst
refined-github-6f0864f9b73568f46d7f2019d8ae54cad5b67bc8.zip
Update `element-ready`
Diffstat (limited to 'source/features/remove-projects-tab.tsx')
-rw-r--r--source/features/remove-projects-tab.tsx4
1 files changed, 2 insertions, 2 deletions
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 + *