diff --git a/src/App.scss b/src/App.scss index dc9ca4a..bf72dfd 100644 --- a/src/App.scss +++ b/src/App.scss @@ -471,8 +471,8 @@ code { max-width: calc(100vw - 32px); .logo { - height: 60pt; - margin: 30px 0; + height: 65pt; + margin: 35px 0; width: 100%; text-align: center; diff --git a/src/components/MonthSelector.tsx b/src/components/MonthSelector.tsx index b2990d2..db58ae8 100644 --- a/src/components/MonthSelector.tsx +++ b/src/components/MonthSelector.tsx @@ -111,6 +111,7 @@ export default function MonthSelector(props: { setCustomPeriod(Number(textPeriod)) } props.setTopupPeriod(Number(textPeriod)) + props.setErrorMsg(undefined) }} >

Apply

diff --git a/src/components/MonthSlider.tsx b/src/components/MonthSlider.tsx deleted file mode 100644 index 547d961..0000000 --- a/src/components/MonthSlider.tsx +++ /dev/null @@ -1,68 +0,0 @@ -/** - * @license - * SKALE portal - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -/** - * @file LinkSurface.tsx - * @copyright SKALE Labs 2023-Present - */ - -import Box from '@mui/material/Box' -import Slider from '@mui/material/Slider' - -const marks = [ - { - value: 1, - label: '1m' - }, - { - value: 3, - label: '3m' - }, - { - value: 6, - label: '6m' - }, - { - value: 9, - label: '9m' - }, - { - value: 12, - label: '12m' - } -] - -function valuetext(value: number) { - return `${value}°C` -} - -export default function DiscreteSliderMarks() { - return ( - - - - ) -} diff --git a/src/components/SchainDetails.tsx b/src/components/SchainDetails.tsx index 3fd7e58..2f0a810 100644 --- a/src/components/SchainDetails.tsx +++ b/src/components/SchainDetails.tsx @@ -133,7 +133,7 @@ export default function SchainDetails(props: {
@@ -160,10 +160,10 @@ export default function SchainDetails(props: { > ) : null}