aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/Main.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx
index 1ae691bf5..bdefecf19 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -73,11 +73,7 @@ Documents.initProtos(() => {
}
else {
const docset: Document[] = [];
- let doc4 = Documents.CollectionDocument(docset, {
- x: 0, y: 400, title: "mini collection"
- }, mainDocId);
- var lid = KeyStore.Layout.Id;
- mainContainer = doc4;
+ mainContainer = Documents.CollectionDocument(docset, { x: 0, y: 400, title: "mini collection" }, mainDocId);
let args = new DocumentTransfer(mainContainer.ToJson())
Utils.Emit(Server.Socket, MessageStore.AddDocument, args)
}