Skip to content

Commit

Permalink
remove relying on function name inference in projectStore
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelalvin committed Sep 5, 2017
1 parent 0a3bb73 commit 52f434a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/project-store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const ProjectStore = types.model("ProjectStore", {
}
}));

const getUniqueProjectId = (projects: IObservableArray<IProject>) => {
function getUniqueProjectId (projects: IObservableArray<IProject>): number {
let id = 0;
projects.map(project => project.id).forEach((currentId, currentIndex) => {
if (currentId != currentIndex) {
Expand Down

0 comments on commit 52f434a

Please sign in to comment.