gt-scheduler / website

Scheduling application designed to mitigate some of the pain-points present throughout Georgia Tech's registration process.
https://gt-scheduler.org
GNU Affero General Public License v3.0
92 stars 22 forks source link

Fixed Toast Notification Trigger #292

Closed samarth52 closed 7 months ago

samarth52 commented 7 months ago

Summary

A Toast notification for un-finalized semesters would be triggered on every re-render of the HeaderDisplay component due to the lack of memoization of props to this component. This PR fixes the problem and eliminates the usage of the deprecated useLocalStorageNoSync hook.

github-actions[bot] commented 7 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://gt-scheduler.github.io/website/pr-preview/pr-292/ on branch gh-pages at 2024-02-27 08:35 UTC