From 32e64da3fa417999ac35c242f608d7017ce2d74d Mon Sep 17 00:00:00 2001 From: bedrantirak Date: Wed, 28 Oct 2020 16:41:25 +0300 Subject: [PATCH] Update data.js added export name --- frontend/src/data.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/data.js b/frontend/src/data.js index f46303b..e1818d8 100644 --- a/frontend/src/data.js +++ b/frontend/src/data.js @@ -1,4 +1,4 @@ -export default { +const data = ( { products: [ { _id: '1', @@ -40,4 +40,5 @@ export default { numReviews: 8 }, ] -} \ No newline at end of file +}) +export default data;