Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement adding card 2 #338

Open
wants to merge 13 commits into
base: sudarshan
Choose a base branch
from

Conversation

sumathipala-hes
Copy link

No description provided.

Initialize react project with typescript.
Setup MUI.
Remove unwanted default files and created the folder structure.
Implemented the Design of the the sign in page
Implemented the random nickname picking functionality.
Folder name changes.
Changed the avatar.
Changed the font.
Remove inline styling.
Use local storage to save nickname.
Defined routes in a separate file.
Comment on lines +86 to +94

// const existingEntries = JSON.parse(localStorage.getItem("diaries") || "[]"); // Get the existing entries
// existingEntries.push({ title, description }); // Add the new entry to the existing entries
// localStorage.setItem("diaries", JSON.stringify(existingEntries)); // Save the updated entries to local storage

// setDiaries([...diaries, { title, description }]);

dispatch(addDiary({ title, description }));

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't commit unwanted codes

Copy link
Collaborator

@shamal-iroshan shamal-iroshan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unwanted codes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants