mirror of
https://github.com/cinnyapp/cinny.git
synced 2024-12-29 10:56:10 +00:00
added device id in settings
This commit is contained in:
parent
ad51191a77
commit
23ff2c3ab4
|
@ -2,6 +2,7 @@ import React from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
import './Settings.scss';
|
||||
|
||||
import initMatrix from '../../../client/initMatrix';
|
||||
import settings from '../../../client/state/settings';
|
||||
|
||||
import Text from '../../atoms/text/Text';
|
||||
|
@ -43,6 +44,7 @@ function Settings({ isOpen, onRequestClose }) {
|
|||
<a href="https://cinny.in/#about" target="_blank" rel="noreferrer">About</a>
|
||||
</Text>
|
||||
<Text className="settings__about">Version: 1.0.0</Text>
|
||||
<Text className="settings__about">{`Device ID: ${initMatrix.matrixClient.getDeviceId()}`}</Text>
|
||||
</div>
|
||||
</PopupWindow>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue