Skip to content

Tiny tiny typo in tokenParseReducer.ts #1139

@Failbait

Description

@Failbait

Love the marbles, but there is this tiny spelling/typo error in tokenParseReducer.ts line 89, that I get to see quite often (because I suck at writing tests):

const validateTimeFrameToken = (acc: TokenParseAccumulator) => {   
  if (acc.expandingTokenCount > 0 || acc.simultaneousGrouped) {  
    throw new Error('Incorret timeframe specified');  
  }  
};

Should be:

const validateTimeFrameToken = (acc: TokenParseAccumulator) => {
  if (acc.expandingTokenCount > 0 || acc.simultaneousGrouped) {
    throw new Error('Incorrect timeframe specified');
  }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions