Skip to content

Implement adding card 2#338

Open
sumathipala-hes wants to merge 13 commits intofcodelabs:sudarshanfrom
sumathipala-hes:Submit-new-diary-card-2
Open

Implement adding card 2#338
sumathipala-hes wants to merge 13 commits intofcodelabs:sudarshanfrom
sumathipala-hes:Submit-new-diary-card-2

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
Contributor

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
Contributor

@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