Skip to content

Commit

Permalink
Use useDevice hook from vtex.device-detector instead of render-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
lbebber committed Jul 9, 2019
1 parent 8301f23 commit 8c387aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion react/components/CustomHeader.tsx
@@ -1,5 +1,6 @@
import React, { FunctionComponent } from 'react'
import { Block, useDevice } from 'vtex.render-runtime'
import { Block } from 'vtex.render-runtime'
import { useDevice } from 'vtex.device-detector'

enum Device {
mobile = 'mobile',
Expand Down

0 comments on commit 8c387aa

Please sign in to comment.