CSI-CATT / CSI-CATT/Habit-Tracker

Make addHabitFunction in store

Open
#1 4 comments 0 reactions 1 assignee Claimed by @Adarsh2345 View on GitHub
enhancement good first issue Hacktoberfest Hacktoberfest accepted help wanted
Dominant language
TypeScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The issue only must be solved by those who are assigned to it , also don't change any other section not mentioned in the issue , if done the pr will not be accepted

# Habit Tracker Store – README

## Overview

This store manages habits using **Zustand** with middleware (`devtools` and `persist`).

---

## Current Status

- `removeHabit` – Implemented
- `toggleHabitCompletion` – Implemented
- `addHabit` – **Declared but not implemented**

---

## Action Required

- Implement the **`addHabit` function** inside : src/

├── store/
│ └── habitStore.ts # Zustand store for habit management WORK HERE

├── components/
│ ├── HabitList.tsx # Displays all habits
│ ├── HabitForm.tsx # Form to add new habits
│ └── HabitItem.tsx # Single habit item component

└── App.tsx # Main application component

- Note: The file is in **TypeScript**, so the implementation should follow the `HabitStatesStore` interface.

---

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.