mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 14:54:12 +00:00
Merge branch 'master' of https://github.com/manojVivek/responsively-app into lint-format
This commit is contained in:
commit
dc56f7ec54
2 changed files with 6 additions and 2 deletions
|
@ -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]));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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\"",
|
||||
|
|
Loading…
Reference in a new issue