7 lines
136 B
JavaScript
7 lines
136 B
JavaScript
import { useAmp } from 'next/amp'
|
|
|
|
export const config = {
|
|
amp: true,
|
|
}
|
|
|
|
export default () => (useAmp() ? 'AMP mode' : 'Normal mode')
|