Skip to content

Commit

Permalink
fix: resume active sheet in resume command
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rno64 committed Dec 19, 2023
1 parent ca0e346 commit a804cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/resume/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type ResumeCommandArgs } from './types'

const handler = async (args: ResumeCommandArgs) => {
const { db } = args
const sheet = db.getMostRecentlyActiveSheet()
const sheet = db.getActiveSheet()
const entry = db.getMostRecentlyActiveSheetEntry(sheet)
const { id, description, end } = entry
const { name } = sheet
Expand Down

0 comments on commit a804cf6

Please sign in to comment.