diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 086a972..ebb9a1f 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -26,7 +26,7 @@ module.exports = {
babelOptions: {
babelrc: false,
configFile: false,
- presets: ['@babel/preset-env', '@babel/preset-react'],
+ presets: ['@babel/preset-env', 'babel-preset-solid'],
},
},
plugins: [
diff --git a/src/pages/InitDataPage/InitDataPage.jsx b/src/pages/InitDataPage/InitDataPage.jsx
index 99ae3db..ecf3318 100644
--- a/src/pages/InitDataPage/InitDataPage.jsx
+++ b/src/pages/InitDataPage/InitDataPage.jsx
@@ -14,11 +14,15 @@ import './InitDataPage.css';
function getUserRows(user) {
return [
{ title: 'id', value: user.id.toString() },
+ { title: 'username', value: user.username },
+ { title: 'photo_url', value: user.photoUrl },
{ title: 'last_name', value: user.lastName },
{ title: 'first_name', value: user.firstName },
{ title: 'is_bot', value: user.isBot },
{ title: 'is_premium', value: user.isPremium },
{ title: 'language_code', value: user.languageCode },
+ { title: 'allows_to_write_to_pm', value: user.allowsWriteToPm },
+ { title: 'added_to_attachment_menu', value: user.addedToAttachmentMenu },
];
}
@@ -75,7 +79,7 @@ export function InitDataPage() {
<>
This page displays application
{' '}
-
+
init data
.