Skip to content

Commit

Permalink
Remove module.exports as only one constant to export
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanElliott96 committed Feb 11, 2025
1 parent fc5fde6 commit d5728fd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/client/modules/Events/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const ATTENDEE_SORT_OPTIONS = [
export const ATTENDEE_SORT_OPTIONS = [
{ name: 'Last name: A-Z', value: 'last_name_of_first_contact' },
{ name: 'Last name: Z-A', value: '-last_name_of_first_contact' },
{ name: 'First name: A-Z', value: 'first_name_of_first_contact' },
Expand All @@ -8,7 +8,3 @@ const ATTENDEE_SORT_OPTIONS = [
{ name: 'Recently added', value: '-created_on' },
{ name: 'Least recently added', value: 'created_on' },
]

module.exports = {
ATTENDEE_SORT_OPTIONS,
}

0 comments on commit d5728fd

Please sign in to comment.