diff --git a/client/modules/Sketch/pages/SketchListView.js b/client/modules/Sketch/pages/SketchListView.js
index fec25baf..f38c806a 100644
--- a/client/modules/Sketch/pages/SketchListView.js
+++ b/client/modules/Sketch/pages/SketchListView.js
@@ -22,14 +22,14 @@ class SketchListView extends React.Component {
/>
- Name |
- Created |
- Last Updated |
+ Name |
+ Created |
+ Last Updated |
{this.props.sketches.map(sketch =>
- {sketch.name} |
+ {sketch.name} |
{moment(sketch.createdAt).format('MMM D, YYYY')} |
{moment(sketch.updatedAt).format('MMM D, YYYY')} |
diff --git a/package.json b/package.json
index dca229de..9fc1ef6b 100644
--- a/package.json
+++ b/package.json
@@ -63,7 +63,7 @@
"bson-objectid": "^1.1.4",
"classnames": "^2.2.5",
"codemirror": "^5.14.2",
- "connect-mongo": "^1.2.0",
+ "connect-mongo": "^1.0.0",
"cookie-parser": "^1.4.1",
"dotenv": "^2.0.0",
"escape-string-regexp": "^1.0.5",
diff --git a/server/server.js b/server/server.js
index e0e97fe2..d9a8ea9d 100644
--- a/server/server.js
+++ b/server/server.js
@@ -3,7 +3,7 @@ import mongoose from 'mongoose';
import bodyParser from 'body-parser';
import cookieParser from 'cookie-parser';
import session from 'express-session';
-const MongoStore = require('connect-mongo')(session);
+const MongoStore = require('connect-mongo/es5')(session);
import passport from 'passport';
import path from 'path';
@@ -83,4 +83,3 @@ app.listen(serverConfig.port, (error) => {
});
export default app;
-