Skip to content

Create Dashboard Slice #63

@grantfox-oss

Description

@grantfox-oss

Description:
Create the Redux slice for dashboard-level data.

Tasks:

  • Create src/features/dashboard/dashboardSlice.js
  • State shape: { stats: null, recentDonations: [], recentCampaigns: [], isLoading: false, error: null }
  • Async thunks: fetchDashboardStats, fetchRecentDonations, fetchRecentCampaigns
  • Export selectors for each state field

Acceptance Criteria:
Thunks fetch data correctly; loading and error states update as expected.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions