Explorar o código

Removed Static Data for Sidebar Menu

Savio Fernando hai 1 ano
pai
achega
ad7f464663
Modificáronse 1 ficheiros con 0 adicións e 34 borrados
  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 => {