Commit e0239ce
committed
Solve warning about missing dialog title
In the layout picker, we are using ShadCN's Drawer component,
which is using Dialog under the hood.
On the browser console, there was a message:
> `DialogContent` requires a `DialogTitle`
> for the component to be accessible for screen reader users.
etc.
This change fixes that, by wrapping the already existing
app logo with the required DrawerTitle tag.1 parent 4cbfd9f commit e0239ce
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments