Settings Tab: Ensure that navigation to it is handled elsewhere

This commit is contained in:
Scott Nonnenberg
2025-05-21 09:03:31 +10:00
committed by GitHub
parent 15c826bc63
commit ffb2f3cb7e
16 changed files with 391 additions and 43 deletions

View File

@@ -1348,6 +1348,14 @@
"reasonCategory": "usageTrusted",
"updated": "2023-09-11T20:19:18.681Z"
},
{
"rule": "React-useRef",
"path": "ts/components/MediaEditor.tsx",
"line": " const tryClose = useRef<() => void | undefined>();",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T22:29:15.758Z",
"reasonDetail": "Holding on to a close function"
},
{
"rule": "React-useRef",
"path": "ts/components/MediaQualitySelector.tsx",
@@ -1456,6 +1464,14 @@
"reasonCategory": "usageTrusted",
"updated": "2024-11-16T00:33:41.092Z"
},
{
"rule": "React-useRef",
"path": "ts/components/StoriesSettingsModal.tsx",
"line": " const tryClose = useRef<() => void | undefined>();",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T22:29:15.758Z",
"reasonDetail": "Holding on to a close function"
},
{
"rule": "React-useRef",
"path": "ts/components/StoryImage.tsx",
@@ -1498,6 +1514,14 @@
"reasonCategory": "usageTrusted",
"updated": "2022-10-05T18:51:56.411Z"
},
{
"rule": "React-useRef",
"path": "ts/components/StoryViewsNRepliesModal.tsx",
"line": " const tryClose = useRef<() => void | undefined>();",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T23:20:52.448Z",
"reasonDetail": "Holding on to a close function"
},
{
"rule": "React-useRef",
"path": "ts/components/TextAttachment.tsx",
@@ -1526,6 +1550,14 @@
"reasonCategory": "usageTrusted",
"updated": "2022-06-16T23:23:32.306Z"
},
{
"rule": "React-useRef",
"path": "ts/components/TextStoryCreator.tsx",
"line": " const tryClose = useRef<() => void | undefined>();",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T22:29:15.758Z",
"reasonDetail": "Holding on to a close function"
},
{
"rule": "React-useRef",
"path": "ts/components/Tooltip.tsx",
@@ -1687,6 +1719,14 @@
"reasonCategory": "usageTrusted",
"updated": "2021-07-30T16:57:33.618Z"
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/conversation-details/EditConversationAttributesModal.tsx",
"line": " const tryClose = useRef<() => void | undefined>();",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T23:20:52.448Z",
"reasonDetail": "Holding on to a close function"
},
{
"rule": "React-useRef",
"path": "ts/components/conversation/media-gallery/MediaGallery.tsx",
@@ -1911,6 +1951,14 @@
"updated": "2022-06-14T22:04:43.988Z",
"reasonDetail": "Handling outside click"
},
{
"rule": "React-useRef",
"path": "ts/hooks/useConfirmDiscard.tsx",
"line": " const confirmDiscardPromise = useRef<",
"reasonCategory": "usageTrusted",
"updated": "2025-05-19T22:29:15.758Z",
"reasonDetail": "Holding on to a promise"
},
{
"rule": "React-useRef",
"path": "ts/hooks/useIntersectionObserver.ts",