Skip to content

Instantly share code, notes, and snippets.

@dwickstrom
Last active December 5, 2024 08:25
Show Gist options
  • Save dwickstrom/fe451b53e1e2c72b033354267ea00e8b to your computer and use it in GitHub Desktop.
Save dwickstrom/fe451b53e1e2c72b033354267ea00e8b to your computer and use it in GitHub Desktop.
scheduledStartDate >= formValues.scheduledEndDate ? // Put the ? on the next line there is no nested ternary
"Needs to be before the scheduled end date"
: true,
// I don't seriously dislike this, I could live with this since it makes it more consistent I suppose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment