Skip to content

Commit

Permalink
refactor: auto-fix sort-exports errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brandongregoryscott committed Feb 20, 2023
1 parent 8bdd7d8 commit 95d9419
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/components/files/file-select-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,5 @@ const getEmptyStateCta = (
);
};

export type { FileSelectMenuProps, FileSelectMenuFilters };
export { FileSelectMenu, defaultFilters };
export type { FileSelectMenuFilters, FileSelectMenuProps };
export { defaultFilters, FileSelectMenu };
2 changes: 1 addition & 1 deletion src/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ const Markdown: React.FC<MarkdownProps> = (props: MarkdownProps) => {
);
};

export type { MarkdownProps, MarkdownComponentMap };
export type { MarkdownComponentMap, MarkdownProps };
export { defaultComponents, Markdown };
2 changes: 1 addition & 1 deletion src/components/piano-roll/piano-roll-randomizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,5 @@ const PianoRollRandomizer: React.FC<PianoRollRandomizerProps> = (
);
};

export type { PianoRollRandomizerSettings, PianoRollRandomizerProps };
export type { PianoRollRandomizerProps, PianoRollRandomizerSettings };
export { PianoRollRandomizer };
10 changes: 5 additions & 5 deletions src/utils/analytics-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ const _trackProjectSaved = (

export {
identifyUser,
trackFeedbackSubmitted,
trackLoginFailed,
trackPage,
trackPasswordResetRequested,
trackProjectCreated,
trackProjectSavedFromFileMenu,
trackFeedbackSubmitted,
trackProjectSavedFromKeyboardShortcut,
trackPasswordResetRequested,
trackProjectSyncFailed,
trackUserCreated,
trackLoginFailed,
trackUserCreationAttempted,
trackProjectCreated,
trackProjectSyncFailed,
};
8 changes: 4 additions & 4 deletions src/utils/core-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,16 @@ const unixTime = (date?: Date): number =>
Math.floor((date?.getTime() ?? new Date().getTime()) / 1000);

export {
partitionValueToArray,
getBorderYProps,
getBorderXProps,
getBorderYProps,
isEqual,
isInstanceOf,
isNilOrEmpty,
pick,
isNotNilOrEmpty,
makeDefaultValues,
partitionValueToArray,
pick,
randomInt,
unixTime,
toList,
unixTime,
};
4 changes: 2 additions & 2 deletions src/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const isDevelopment = () => env.NODE_ENV === "development";
export type { Environment };
export {
env,
isDevelopment,
EnvironmentName,
getCurrentEnvironment,
getTargetBranch,
EnvironmentName,
isDevelopment,
};
2 changes: 1 addition & 1 deletion src/utils/id-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ const remapIds = <T extends Entity>(
});
};

export { generateId, generateIdMap, remapIds, isUuid };
export { generateId, generateIdMap, isUuid, remapIds };
2 changes: 1 addition & 1 deletion src/utils/midi-note-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ const isMidiNote = (maybeNote?: number | string): maybeNote is MidiNote => {

const isSharp = (note: MidiNote): boolean => note.includes("#");

export { isSharp, isMidiNote };
export { isMidiNote, isSharp };
4 changes: 2 additions & 2 deletions src/utils/track-section-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export {
fillWithPlaceholders,
fillWithPlaceholdersByTrackId,
getByTrackId,
getStepCountOffset,
getCountByTrackId,
getMaxCountByTrackId,
getTotalStepCount,
getMaxStepCountByTrackId,
getStepCountOffset,
getTotalStepCount,
};

0 comments on commit 95d9419

Please sign in to comment.