import h from 'hyperscript';
import { c } from '../utils';

export default function (title, text) {
  return h(c('.error'),
    h(c('.error-title'), title),
    h(c('.error-text'), text),
    h(c('.error-footer'), `Bindery ${'[AIV]{version}[/AIV]'}`),
  );
}

@@ -1,12 +1,42 @@
+/* global BINDERY_VERSION */%0A%0A
 import h fro
@@ -252,30 +252,23 @@
 y $%7B
-'%5BAIV%5D%7Bversion%7D%5B/AIV%5D'
+BINDERY_VERSION
 %7D%60),

Fix version number on error messages