Skip to content

Commit dcce356

Browse files
authored
Merge pull request #5 from CagunA/patch-1
Update index.tsx
2 parents a5f529a + a7517cf commit dcce356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class MqttClient {
176176

177177
const opts: ConnectionOptions = Object.assign(
178178
{},
179-
{ ...options, clientId: 'clientId' }
179+
{ clientId: 'clientId', ...options }
180180
);
181181
if (opts.tls && opts.tls.p12) {
182182
opts.tls = Object.assign({}, opts.tls);

0 commit comments

Comments
 (0)