1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 09:59:48 +02:00

Fix an invalid require statement in base-64 serializer (#1108)

This commit is contained in:
Per-Kristian Nordnes
2017-09-11 19:26:36 +02:00
committed by Ian Storm Taylor
parent 9760f945c8
commit 90c430edac

View File

@@ -48,7 +48,7 @@ function deserialize(string, options) {
*/
function deserializeNode(string, options) {
const Node = require('../models/node')
const Node = require('../models/node').default
const raw = decode(string)
const node = Node.fromJSON(raw, options)
return node