Skip to content

Commit

Permalink
fix: update import format for uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneblue committed May 2, 2020
1 parent 79a6143 commit 5c6c678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/chameleon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getTimezones } from '../lib/tz';
import util from './util';
import webext from './webext';
import { Interceptor } from './intercept';
const uuidv4 = require('uuid/v4');
import { v4 as uuidv4 } from 'uuid';

enum IntervalOption {
None = 0,
Expand Down
2 changes: 1 addition & 1 deletion src/options/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ import * as tz from '../lib/tz';
import util from '../lib/util';
import webext from '../lib/webext';
import { Component } from 'vue-property-decorator';
const uuidv4 = require('uuid/v4');
import { v4 as uuidv4 } from 'uuid';
enum Modal {
DEFAULT,
Expand Down

0 comments on commit 5c6c678

Please sign in to comment.