浏览代码

Removed Static Data for Sidebar Menu

Savio Fernando 1 年之前
父节点
当前提交
ad7f464663
共有 1 个文件被更改,包括 0 次插入34 次删除
  1. 0 34
      src/screens/Sidebar/SidebarPage.js

+ 0 - 34
src/screens/Sidebar/SidebarPage.js

@@ -22,45 +22,11 @@ import { navigateToListViewPage, useConstructor } from '../../constants/function
 import { getArticlesByCategory, getCategories } from '../../api/data';
 import { BASE_URL } from '../../api/urls';
 
-const data = [
-  {
-    title: 'Sector Update',
-    icon: 'area-graph',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-  {
-    title: 'Regional Update',
-    icon: 'network',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-  {
-    title: 'Finance',
-    icon: 'database',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-  {
-    title: 'Economic',
-    icon: 'line-graph',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-  {
-    title: 'Miscellaneous',
-    icon: 'documents',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-  {
-    title: 'RSS',
-    icon: 'rss',
-    subTitles: ['Banking', 'Retail', 'Transport', 'Banking', 'Food & Drink'],
-  },
-];
 
 const SidebarPage = ({ navigation, route }) => {
 
   const [data, setData] = React.useState([])
 
-  
-
   const [expandedId, setExpandedId] = React.useState('');
 
   const handleAccordionPress = accordionId => {