Feature:
Improved error handling in the suggestion fetching logic. Now, if an error occurs, an empty suggestions array is set.Feature:
The useEffect
dependencies in the AskAIButton component were updated to include the slug
, ensuring suggestions are fetched correctly when the slug changes.Feature:
Updated modal height for the AskAIButton component for better visual layout.Bug Fix:
The display logic for suggestions was refined, properly showing a loading message when there are no suggestions available instead of rendering an empty area. Code Cleanup:
Removed unnecessary logging statement from the AppBannerClient component.