Skip to content

Commit

Permalink
Seems to work with msupply-ble-module
Browse files Browse the repository at this point in the history
  • Loading branch information
chetstone committed Nov 2, 2021
1 parent 7ba9076 commit 2cf29c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
9 changes: 0 additions & 9 deletions metro.devconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ console.log('Mapping the following sym linked packages:');
console.log(moduleMappings);

module.exports = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},

resolver: {
// Register an "extra modules proxy" for resolving
// modules outside of the normal resolution logic.
Expand Down
4 changes: 2 additions & 2 deletions src/actions/Bluetooth/SensorScanActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const scanForSensors = (dispatch, getState) => {
dispatch(scanStart());

const deviceCallback = throttle(
device => {
const { id: macAddress } = device;
(_, device) => {
const macAddress = device;
if (macAddress) {
const alreadyScanned = selectScannedSensors(getState());

Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ LogBox.ignoreLogs([
'Setting a timer',
'componentWillMount',
'Non-serializable values were found in the navigation state',
'Require cycle',
'[SECURITY] node-uuid',
]);

AppRegistry.registerComponent(appName, () => App);

0 comments on commit 2cf29c9

Please sign in to comment.