Commit 02c0e14
committed
fix(AppTitle): Use direct Svg instead of Icon to avoid DOM error
In AppTitle, we used Icon by habit but it is not necessary. On the contrary, TwakeTextIcon is not a square icon so it has some internal behavior we tried to disable by using width="auto". However, this is passed to the underlying <svg> which do not support width="auto". It avoid the following error: `Error: <svg> attribute width: Expected length, "auto".`1 parent ecc5f79 commit 02c0e14
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | | - | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| |||
0 commit comments