Skip to content

Commit

Permalink
fix: 🐛 #835 #836 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkaganeren committed Aug 19, 2023
1 parent 8fa37e4 commit b50851b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/home/ManjaroVersion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const ManjaroVersion = () => {
invoke('run_shell_command_with_result', { command: 'cat /etc/lsb-release' }).then((response) => {
if (response) {
const variables = (response as string).split('\\n');
const versionTemp = variables[1].split('=')[1];
const codeNameTemp = variables[2].split('=')[1];
const versionTemp = variables[1].split('=')[1].replaceAll('\\"', '');
const codeNameTemp = variables[2].split('=')[1].replaceAll('\\"', '');
setVersion(versionTemp);
setCodeName(codeNameTemp);
}
Expand Down
1 change: 0 additions & 1 deletion src/initial/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const App: React.FC = () => {
bg="#edf3f8"
_dark={{ bg: '#1A202C' }}
padding={5}
bottom={0}
w="100%"
>
<Routes>
Expand Down
2 changes: 0 additions & 2 deletions src/screens/PackageScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ const PackageScreen: React.FC = () => {
return (
<Box
width="full"
mt={{ base: 4, md: 10 }}
mb={20}
px={2}
pt={50}
>
<SearchComponent isForPackage />
<Tabs
Expand Down

0 comments on commit b50851b

Please sign in to comment.