Skip to content

Commit

Permalink
fix: trigger month draft upon button click
Browse files Browse the repository at this point in the history
was previously creating week draft
  • Loading branch information
tyler-dane committed Nov 21, 2024
1 parent 4e5c73e commit b42c2b5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@ export const SomedayEvents: FC<Props> = ({
? "Add to month"
: "Add to week"
}
onClick={() =>
sidebarProps.util.onPlaceholderClick(
Categories_Event.SOMEDAY_WEEK
)
}
onClick={() => sidebarProps.util.onPlaceholderClick(category)}
shortcut={category === Categories_Event.SOMEDAY_MONTH ? "M" : "W"}
>
<EventPlaceholder>
Expand Down

0 comments on commit b42c2b5

Please sign in to comment.