Skip to content

Commit

Permalink
#1 Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
markusbink committed Aug 20, 2022
1 parent a4b0247 commit d6738bf
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/components/entry/Entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,11 @@ export const Entry: React.FC<EntryProps> = ({
const bookmarkEntry = (e: React.MouseEvent) => {
e.stopPropagation();
setIsMenuOpen(false);
console.log(`bookmark entry ${entry.id}`);
};

const addNote = (e: React.MouseEvent) => {
e.stopPropagation();
setIsMenuOpen(false);
console.log(`add note to entry ${entry.id}`);
};

const toggleMenu = (e: React.MouseEvent) => {
Expand All @@ -98,23 +96,17 @@ export const Entry: React.FC<EntryProps> = ({
};

const editEntry = (e: React.MouseEvent) => {
console.log(`edit entry ${entry.id}`);
setIsEditing(true);
setIsEditing(!isEditing);
setIsBodyOpen(true);
};

const deleteEntry = (e: React.MouseEvent) => {
console.log(`delete entry ${entry.id}`);
};
const deleteEntry = (e: React.MouseEvent) => {};

const updateEntry = () => {
console.log(`update entry ${entry.id}`);
setIsEditing(false);
};

const addHint = () => {
console.log(`add hint to entry ${entry.id}`);
};
const addHint = () => {};

return (
<div
Expand Down

0 comments on commit d6738bf

Please sign in to comment.