This commit is contained in:
Penn Su 2017-03-20 21:10:10 -07:00 committed by Arunoda Susiripala
parent b2fabf0fe0
commit b682267b50

View file

@ -2,7 +2,7 @@ import Document, { Head } from 'next/document'
import { DOMProperty } from 'react-dom/lib/ReactInjection'
// By default React limit the set of valid DOM elements and attributes
// (https://github.com/facebook/react/issues140) this config whitelist
// (https://github.com/facebook/react/issues/140) this config whitelist
// Amp elements/attributes
DOMProperty.injectDOMPropertyConfig({
Properties: { amp: DOMProperty.MUST_USE_ATTRIBUTE },