       CodeBlock(code, modifiers)
 
 HeadingRenderer = (text, level) ->
-  React.DOM["h#{level}"] null, text
+  React.DOM["h#{level}"] {key: seqKey()}, text
 
 
 #

Frame = require('react-frame-component')
{Link} = require('react-nested-router')
{div, section, link, style} = React.DOM

module.exports = React.createClass


#
CodeBlock = (code, modifiers) ->
  section
    key: seqKey()
    className: "cg-CodeBlock cg-CodeBlock--#{modifiers}"
    dangerouslySetInnerHTML: {__html: code}

FramedCodeBlock = (code, modifiers, styles) ->
  section
    key: seqKey()
    className: "cg-CodeBlock #{if modifiers then "cg-CodeBlock--#{modifiers}" else ''}"
    Frame
      className: 'cg-Frame'
