rsnext/test/integration/amphtml/pages/another-amp.js
2021-12-09 12:27:38 -06:00

7 lines
136 B
JavaScript

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