Skip to content

Commit

Permalink
fix: minor fixes before open sourcing
Browse files Browse the repository at this point in the history
minor fixes before open sourcing

close #17
  • Loading branch information
hasanagh committed Jan 28, 2019
1 parent 3ca28f8 commit d54b6a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
19 changes: 2 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
"dmg",
"mas"
],
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
},
"category": "public.app-category.news"
},
"mas": {
Expand All @@ -89,12 +84,7 @@
},
"win": {
"target": "nsis",
"icon": "assets/icon.ico",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
"icon": "assets/icon.ico"
},
"linux": {
"icon": "assets/icon.png",
Expand All @@ -103,12 +93,7 @@
"AppImage"
],
"description": "Example",
"category": "Network;Feed",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
"category": "Network;Feed"
}
},
"browserslist": [
Expand Down
6 changes: 3 additions & 3 deletions public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ generateMenu = () => {
{
click() {
require('electron').shell.openExternal(
'https://getstream.io/winds',
'https://github.com/react-epfl/graasp-desktop/blob/master/README.md',
);
},
label: 'Learn More',
},
{
click() {
require('electron').shell.openExternal(
'https://github.com/GetStream/Winds/issues',
'https://github.com/react-epfl/graasp-desktop/issues',
);
},
label: 'File Issue on GitHub',
Expand Down Expand Up @@ -393,7 +393,7 @@ app.on('ready', () => {
console.log(err);
}
});
archive.on('error', err => {
archive.on('error', () => {
mainWindow.webContents.send(
EXPORTED_SPACE_CHANNEL,
ERROR_GENERAL
Expand Down
8 changes: 3 additions & 5 deletions src/actions/phase/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import {
CLEAR_PHASE,
} from '../../types';

const clearPhase = () => (dispatch) => {
return dispatch({
type: CLEAR_PHASE,
});
};
const clearPhase = () => dispatch => dispatch({
type: CLEAR_PHASE,
});

const selectPhase = phase => (dispatch) => {
dispatch({
Expand Down

0 comments on commit d54b6a2

Please sign in to comment.