Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixed leak issue when checkpoint will be undefined #553

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

sundasnoreen12
Copy link
Contributor

INF-987

Description

Fixed memory leak issue due to infinite times call of useeffect after adding new tour type in the "AVAILABLE_DISCUSSION_TOURS" in internals because of undefined checkpoints for newly added notification tour type which is for frontend-component-header-edx instead of discussion MFE.

Post-merge Checklist

  • Deploy the changes to prod after verifying on stage or ask @openedx/edx-infinity to do it.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (b8f11c3) 92.30% compared to head (fd35988) 92.30%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #553   +/-   ##
=======================================
  Coverage   92.30%   92.30%           
=======================================
  Files         170      170           
  Lines        3471     3471           
  Branches      904      906    +2     
=======================================
  Hits         3204     3204           
  Misses        246      246           
  Partials       21       21           
Files Changed Coverage Δ
src/discussions/data/hooks.js 87.17% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@awais-ansari awais-ansari merged commit ea235cf into master Aug 8, 2023
5 checks passed
@awais-ansari awais-ansari deleted the sundas/INF-987 branch August 8, 2023 09:32
snglth pushed a commit to Abstract-Tech/community-theme-discussions that referenced this pull request Jan 9, 2024
Co-authored-by: SundasNoreen <sundas.noreen@arbisoft.com>
Co-authored-by: Awais Ansari <79941147+awais-ansari@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants