pieces-app / example-typescript

A React example project showing how to get started with Pieces TS SDK.
MIT License
42 stars 50 forks source link

Refactor to use localized state management for conversation ID #124

Open Asin-Junior-Honore opened 5 months ago

Asin-Junior-Honore commented 5 months ago

Description

This PR fixes the usage of a global variable GlobalConversationID in Copilot.tsx. The global variable has been refactored to use localized state management with React's useState hook. issue #115

Changes include:

Asin-Junior-Honore commented 4 months ago

hey @Arindam200 , @mason-at-pieces , @shivay-at-pieces please could someone review my PR please , thank you

Asin-Junior-Honore commented 4 months ago

Hey @Arindam200 ,

Please review the changes I made based on your request a few hours ago. Thanks!