fcf1167cd4
Upgrades `standard` to major version 12
6 lines
130 B
JavaScript
6 lines
130 B
JavaScript
import { useAmp } from 'next/amp'
|
|
|
|
export default () => {
|
|
const isAmp = useAmp()
|
|
return `Hello ${isAmp ? 'AMP' : 'others'}`
|
|
}
|