7 lines
130 B
JavaScript
7 lines
130 B
JavaScript
|
import { useAmp } from 'next/amp'
|
||
|
|
||
|
export default () => {
|
||
|
const isAmp = useAmp()
|
||
|
return `Hello ${isAmp ? 'AMP' : 'others'}`
|
||
|
}
|