* Fix useSmoothAnimation enablement not working properly by getting rid of it
Passing duration=0 is more logical and less superfluous
* Refactor UploadBar to handle state more correctly
* Change ProgressBar to new useSmoothAnimation signature and default animated to true for consistency
* Add type guard
* Make types stricter
* Write tests for the ProgressBar component
* Make the new test conform to tsc --strict
* Update UploadBar.tsx
* Update UploadBar.tsx
* Update UploadBar.tsx
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| audio_messages | ||
| beacon | ||
| context_menus | ||
| dialogs | ||
| elements | ||
| location | ||
| messages | ||
| right_panel | ||
| rooms | ||
| settings | ||
| spaces | ||
| typography | ||
| voip | ||