Commit 3f67ef2d by Apple\Apple

馃悰 fix: correct loading state for search button in TokensTable

Fix the search button loading state to be consistent with other table components.
The search button now properly shows loading animation when the table data is
being fetched.

Changes:
- Update search button loading prop from `loading={searching}` to
  `loading={loading || searching}` in TokensTable.js
- This ensures loading state is shown both when searching with keywords
  (searching=true) and when loading default data (loading=true)
- Aligns with the behavior of other table components like ChannelsTable,
  UsersTable, and RedemptionsTable

Before: Search button only showed loading when searching with keywords
After: Search button shows loading for all table data fetch operations
parent f7b870c1
...@@ -654,7 +654,7 @@ const TokensTable = () => { ...@@ -654,7 +654,7 @@ const TokensTable = () => {
<Button <Button
type="primary" type="primary"
htmlType="submit" htmlType="submit"
loading={searching} loading={loading || searching}
className="!rounded-full flex-1 md:flex-initial md:w-auto" className="!rounded-full flex-1 md:flex-initial md:w-auto"
> >
{t('鏌ヨ')} {t('鏌ヨ')}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment