summaryrefslogtreecommitdiff
path: root/source/features/recently-pushed-branches-enhancements.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-11-18 19:55:59 -0500
committerGravatar GitHub <noreply@github.com> 2020-11-18 18:55:59 -0600
commita935456acab0c7bdc021829e18ce20230e18c752 (patch)
treee61eed13a433381ba223a4ca962e904c8740fc91 /source/features/recently-pushed-branches-enhancements.tsx
parentcab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff)
downloadrefined-github-20.11.19.tar.gz
refined-github-20.11.19.tar.zst
refined-github-20.11.19.zip
Lint (#3723)20.11.19
Diffstat (limited to 'source/features/recently-pushed-branches-enhancements.tsx')
-rw-r--r--source/features/recently-pushed-branches-enhancements.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/recently-pushed-branches-enhancements.tsx b/source/features/recently-pushed-branches-enhancements.tsx
index 3c97d856..9ee72de9 100644
--- a/source/features/recently-pushed-branches-enhancements.tsx
+++ b/source/features/recently-pushed-branches-enhancements.tsx
@@ -7,7 +7,7 @@ import * as pageDetect from 'github-url-detection';
import features from '.';
import {getRepo} from '../github-helpers';
-const fragmentURL = `/${getRepo()!.nameWithOwner}/show_partial?partial=tree%2Frecently_touched_branches_list`;
+const fragmentURL = `/${getRepo()?.nameWithOwner!}/show_partial?partial=tree%2Frecently_touched_branches_list`;
const selector = `[data-url='${fragmentURL}' i], [src='${fragmentURL}' i]`;
// Ajaxed pages will load a new fragment on every ajaxed load, but we only really need the one generated on the first load