Skip to content

Commit

Permalink
Merge pull request #48963 from tienifr/fix/gbr-tooltip-regression
Browse files Browse the repository at this point in the history
fix: gbr tooltip regression
(cherry picked from commit 9c0c622)

(CP triggered by Julesssss)
  • Loading branch information
grgia authored and OSBotify committed Sep 11, 2024
1 parent 4f78911 commit 941c284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/LHNOptionsList/OptionRowLHN.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function OptionRowLHN({reportID, isFocused = false, onSelectRow = () => {}, opti
const [hasCompletedGuidedSetupFlow] = useOnyx(ONYXKEYS.NVP_ONBOARDING, {
selector: hasCompletedGuidedSetupFlowSelector,
});
const [shouldHideGBRTooltip] = useOnyx(ONYXKEYS.NVP_SHOULD_HIDE_GBR_TOOLTIP);
const [shouldHideGBRTooltip] = useOnyx(ONYXKEYS.NVP_SHOULD_HIDE_GBR_TOOLTIP, {initialValue: true});

const {translate} = useLocalize();
const [isContextMenuActive, setIsContextMenuActive] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type LayoutChangeEventWithTarget = NativeSyntheticEvent<{layout: LayoutRectangle
* A component used to wrap an element intended for displaying a tooltip.
* This tooltip would show immediately without user's interaction and hide after 5 seconds.
*/
function BaseEducationalTooltip({children, shouldAutoDismiss = false, shouldRender = true, ...props}: EducationalTooltipProps) {
function BaseEducationalTooltip({children, shouldAutoDismiss = false, shouldRender = false, ...props}: EducationalTooltipProps) {
const hideTooltipRef = useRef<() => void>();

const [shouldMeasure, setShouldMeasure] = useState(false);
Expand Down

0 comments on commit 941c284

Please sign in to comment.