Merge branch 'master' of https://github.com/manojVivek/responsively-app into lint-format

This commit is contained in:
Suresh 2020-05-28 18:01:26 +05:30
commit dc56f7ec54
2 changed files with 6 additions and 2 deletions

View file

@ -253,8 +253,12 @@ export function setActiveDevices(newDevices) {
export function addNewDevice(newDevice) {
return (dispatch: Dispatch, getState: RootStateType) => {
const {
browser: {devices},
} = getState();
if (newDevice.added) {
dispatch(newActiveDevice(newDevice));
dispatch(newActiveDevices([...devices, newDevice]));
}
};
}

View file

@ -1,7 +1,7 @@
{
"name": "Responsively-App",
"productName": "ResponsivelyApp",
"version": "0.1.4",
"version": "0.1.5",
"description": "A developer-friendly browser for developing responsive web apps",
"scripts": {
"build": "concurrently \"yarn build-main\" \"yarn build-renderer\"",