Commit 2df7fc7
committed
refactor: improve message display logic in AppMessagesBalance component
- Refactored the message display logic in the `AppMessagesBalance` component to conditionally render the message count and loading state more clearly.
- Enhanced the layout by ensuring the `Text` component is only rendered when not loading, improving readability and user experience.
These changes streamline the component's rendering process and provide clearer visual feedback regarding message availability.1 parent 4729b72 commit 2df7fc7
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
0 commit comments