Commit 004c7877 authored by Robert Knight's avatar Robert Knight

Convert export from default export property to named export

parent ff545c6d
......@@ -23,7 +23,7 @@ function init() {
* which are the user's draft changes to the annotation. These are returned
* from the drafts store selector by `drafts.getDraft()`.
*/
class Draft {
export class Draft {
constructor(annotation, changes) {
this.annotation = { id: annotation.id, $tag: annotation.$tag };
this.isPrivate = changes.isPrivate;
......@@ -200,5 +200,4 @@ export default {
getDraftIfNotEmpty,
unsavedAnnotations,
},
Draft,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment