Skip to content

Commit b394cf8

Browse files
committed
[readme] Replace import with require()
Fixes ide#82
1 parent 887666f commit b394cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ sudo npm run scan -- --interface en1
6868
Once you know your Dash button's MAC address you need to tell Dash Button about it:
6969

7070
```js
71-
import DashButton from 'dash-button';
71+
const DashButton = require('dash-button');
7272

7373
const DASH_BUTTON_MAC_ADDRESS = 'xx:xx:xx:xx:xx:xx';
7474

0 commit comments

Comments
 (0)