This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
src/components/views/settings/tabs/user
test/components/views/settings/tabs/user/__snapshots__ Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import ImageSizePanel from "../../ImageSizePanel";
32
32
import SettingsTab from "../SettingsTab" ;
33
33
import { SettingsSection } from "../../shared/SettingsSection" ;
34
34
import SettingsSubsection from "../../shared/SettingsSubsection" ;
35
- import MatrixClientContext from "../../../../../contexts/MatrixClientContext" ;
36
35
37
36
interface IProps { }
38
37
@@ -44,9 +43,6 @@ interface IState {
44
43
}
45
44
46
45
export default class AppearanceUserSettingsTab extends React . Component < IProps , IState > {
47
- public static contextType = MatrixClientContext ;
48
- public context ! : React . ContextType < typeof MatrixClientContext > ;
49
-
50
46
public constructor ( props : IProps ) {
51
47
super ( props ) ;
52
48
Original file line number Diff line number Diff line change @@ -195,9 +195,8 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
195
195
Modern
196
196
</span >
197
197
</div >
198
- <div
198
+ <hr
199
199
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_separator"
200
- role = " separator"
201
200
/>
202
201
<div
203
202
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_EventTilePreview"
@@ -312,9 +311,8 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
312
311
Message bubbles
313
312
</span >
314
313
</div >
315
- <div
314
+ <hr
316
315
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_separator"
317
- role = " separator"
318
316
/>
319
317
<div
320
318
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_EventTilePreview"
@@ -429,9 +427,8 @@ exports[`AppearanceUserSettingsTab should render 1`] = `
429
427
IRC (experimental)
430
428
</span >
431
429
</div >
432
- <div
430
+ <hr
433
431
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_separator"
434
- role = " separator"
435
432
/>
436
433
<div
437
434
class = " mxLayoutSwitcher_LayoutSelector_LayoutRadio_EventTilePreview mx_IRCLayout"
You can’t perform that action at this time.
0 commit comments