Skip to content

Commit b314695

Browse files
committed
fix linter error
1 parent b360849 commit b314695

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/home/report/AgentZeroProcessingRequestIndicator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ type AgentZeroProcessingRequestIndicatorProps = {
1212
function AgentZeroProcessingRequestIndicator({reportID}: AgentZeroProcessingRequestIndicatorProps) {
1313
const styles = useThemeStyles();
1414
const {isOffline} = useNetwork();
15-
const [reportNameValuePairs] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${reportID}`);
16-
const [userTypingStatuses] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_USER_IS_TYPING}${reportID}`);
15+
const [reportNameValuePairs] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${reportID}`, {canBeMissing: true});
16+
const [userTypingStatuses] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_USER_IS_TYPING}${reportID}`, {canBeMissing: true});
1717

1818
// Check if anyone is currently typing
1919
const usersTyping = useMemo(() => Object.keys(userTypingStatuses ?? {}).filter((loginOrAccountID) => userTypingStatuses?.[loginOrAccountID]), [userTypingStatuses]);

0 commit comments

Comments
 (0)