Skip to content

Commit

Permalink
components/KeyValue: fix lurkerMode lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Jun 13, 2023
1 parent d25cb8e commit 24454ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/KeyValue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default class KeyValue extends React.Component<KeyValueProps, {}> {
render() {
const { keyValue, value, color, sensitive, SettingsStore } = this.props;

const { lurkerMode } = SettingsStore?.settings?.privacy;
const lurkerMode: boolean =
SettingsStore?.settings?.privacy?.lurkerMode || false;

{
/* TODO: rig up RTL */
Expand Down

0 comments on commit 24454ff

Please sign in to comment.