summaryrefslogtreecommitdiff
path: root/source/features/github-actions-indicators.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-10-16 19:49:57 +0800
committerGravatar GitHub <noreply@github.com> 2023-10-16 19:49:57 +0800
commitb914499a90a779025254b62e2562cbd7869e410d (patch)
treec8f98c62393cc8cb528832fecdaf1b6019dca818 /source/features/github-actions-indicators.tsx
parentba686ec428909508e4b8191f0d011be3e9c354c8 (diff)
downloadrefined-github-b914499a90a779025254b62e2562cbd7869e410d.tar.gz
refined-github-b914499a90a779025254b62e2562cbd7869e410d.tar.zst
refined-github-b914499a90a779025254b62e2562cbd7869e410d.zip
Fix `textContent` types (#6983)
Diffstat (limited to 'source/features/github-actions-indicators.tsx')
-rw-r--r--source/features/github-actions-indicators.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/github-actions-indicators.tsx b/source/features/github-actions-indicators.tsx
index 2b264506..8d6e2e57 100644
--- a/source/features/github-actions-indicators.tsx
+++ b/source/features/github-actions-indicators.tsx
@@ -133,7 +133,7 @@ async function addIndicators(workflowListItem: HTMLAnchorElement): Promise<void>
setTimeout(() => {
// The content of `relative-time` might is not immediately available
- addTooltip(workflowListItem, `Next run: ${relativeTime.shadowRoot!.textContent!}`);
+ addTooltip(workflowListItem, `Next run: ${relativeTime.shadowRoot!.textContent}`);
}, 500);
}