Skip to content

Commit 035adc1

Browse files
authored
Merge pull request #2168 from oasisprotocol/csillag/solve-warning-about-missing-dialog-title
Solve warning about missing dialog title
2 parents e11e4e6 + 4e18ced commit 035adc1

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.changelog/2168.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Solve warning about missing dialog title

src/app/components/LayerPicker/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FC, useState } from 'react'
22
import { useTranslation } from 'react-i18next'
33
import Box from '@mui/material/Box'
44
import Button from '@mui/material/Button'
5-
import { Drawer, DrawerContent } from '@oasisprotocol/ui-library/src/components/ui/drawer'
5+
import { Drawer, DrawerContent, DrawerTitle } from '@oasisprotocol/ui-library/src'
66
import { Separator } from '@oasisprotocol/ui-library/src/components/ui/separator'
77
import Grid from '@mui/material/Unstable_Grid2'
88
import { HomePageLink } from '../PageLayout/Logotype'
@@ -106,9 +106,11 @@ const LayerPickerContent: FC<LayerPickerContentProps> = ({ isOutOfDate, onClose,
106106

107107
return (
108108
<StyledLayerPickerContent>
109-
<Box sx={{ mb: isTablet ? 0 : 5, position: 'relative' }}>
110-
<HomePageLink color="#0500e2" showText={!isMobile} />
111-
</Box>
109+
<DrawerTitle>
110+
<Box sx={{ mb: isTablet ? 0 : 5, position: 'relative' }}>
111+
<HomePageLink color="#0500e2" showText={!isMobile} />
112+
</Box>
113+
</DrawerTitle>
112114
{isTablet && (
113115
<TabletActionBar>
114116
<div>

0 commit comments

Comments
 (0)