diff --git a/src/components/SettingsModal/SettingsView/index.tsx b/src/components/SettingsModal/SettingsView/index.tsx index 7bc62e741..78b66bf25 100644 --- a/src/components/SettingsModal/SettingsView/index.tsx +++ b/src/components/SettingsModal/SettingsView/index.tsx @@ -6,7 +6,7 @@ import { useEffect, useState } from 'react' import styled from 'styled-components' import { Flex } from '~/components/common/Flex' import { Text } from '~/components/common/Text' -import { getAboutData, TAboutParams } from '~/network/fetchSourcesData' +import { TAboutParams, getAboutData } from '~/network/fetchSourcesData' import { useUserStore } from '~/stores/useUserStore' import { colors } from '~/utils/colors' import { UserPermissions } from '../UserPermissions' @@ -101,16 +101,14 @@ export const SettingsView: React.FC = ({ onClose }) => { {isAdmin && } - {isAdmin && ( - <> - - {!loading ? : <>} - - - {!loading ? : <>} - - - )} + + + {!loading ? : <>} + + + {!loading ? : <>} + + diff --git a/src/components/SourcesTableModal/SourcesView/index.tsx b/src/components/SourcesTableModal/SourcesView/index.tsx index 2ebd73297..a6ad00055 100644 --- a/src/components/SourcesTableModal/SourcesView/index.tsx +++ b/src/components/SourcesTableModal/SourcesView/index.tsx @@ -50,26 +50,18 @@ export const SourcesView = () => { - {isAdmin && ( - <> - - - - )} + {isAdmin && } + {isAdmin && } - {isAdmin && ( - <> - - - - - - - - )} + + + + + + ) }