diff --git a/ui/src/components/App.tsx b/ui/src/components/App.tsx
index 635d946..a76d9b3 100644
--- a/ui/src/components/App.tsx
+++ b/ui/src/components/App.tsx
@@ -1,4 +1,4 @@
-import { Center, Box } from '@chakra-ui/react';
+import { Flex, Box } from '@chakra-ui/react';
import { debugData } from '../utils/debugData';
import TopBar from './NavBars/TopBar';
import LeftBar from './NavBars/LeftBar';
@@ -31,12 +31,12 @@ const App: React.FC = () => {
useNuiEvent('openUI', () => navigate('/'));
return (
-
+
{
-
+
);
};
diff --git a/ui/src/components/MainContent.tsx b/ui/src/components/MainContent.tsx
index 2b070da..ba67cf7 100644
--- a/ui/src/components/MainContent.tsx
+++ b/ui/src/components/MainContent.tsx
@@ -3,13 +3,11 @@ import { Box, Center } from '@chakra-ui/react';
const MainContent: React.FC = ({ children }) => {
return (
- <>
-
-
- {children}
-
-
- >
+
+
+ {children}
+
+
);
};
diff --git a/ui/src/components/NavBars/LeftBar.tsx b/ui/src/components/NavBars/LeftBar.tsx
index 1bfbff6..656ca7d 100644
--- a/ui/src/components/NavBars/LeftBar.tsx
+++ b/ui/src/components/NavBars/LeftBar.tsx
@@ -18,7 +18,7 @@ const LeftBar: React.FC = () => {
});
return (
-
+
{initData.resources.map((resource, index) => (
@@ -28,7 +28,9 @@ const LeftBar: React.FC = () => {
color: state.isActive ? 'white' : 'grey',
})}
>
- {resource}
+
+ {resource}
+
))}
diff --git a/ui/src/components/NavBars/RightBar.tsx b/ui/src/components/NavBars/RightBar.tsx
index adb7c9d..eb5921b 100644
--- a/ui/src/components/NavBars/RightBar.tsx
+++ b/ui/src/components/NavBars/RightBar.tsx
@@ -20,7 +20,7 @@ const RightBar: React.FC = () => {
});
return (
-
+
diff --git a/ui/src/components/NavBars/TopBar.tsx b/ui/src/components/NavBars/TopBar.tsx
index 84790c1..ddf90e4 100644
--- a/ui/src/components/NavBars/TopBar.tsx
+++ b/ui/src/components/NavBars/TopBar.tsx
@@ -2,8 +2,8 @@ import { Box, Text } from '@chakra-ui/react';
const TopBar: React.FC = () => {
return (
-
-
+
+
Resources
diff --git a/ui/src/components/Resource.tsx b/ui/src/components/Resource.tsx
index a260db7..f2340a3 100644
--- a/ui/src/components/Resource.tsx
+++ b/ui/src/components/Resource.tsx
@@ -105,7 +105,7 @@ const Resource: React.FC = () => {
});
return (
-
+
{headerGroups.map((header): any => (
@@ -164,7 +164,7 @@ const Resource: React.FC = () => {
{!isLoaded && }
-
+
}