ajout dernier eversion

This commit is contained in:
AntoninoP 2024-07-07 15:34:43 +02:00
parent 1fd5224fe6
commit ca961f563c

View File

@ -14,6 +14,7 @@ const CreateServer = ({ user, onCreateServer }) => {
if (user && user.uid) {
const userSubdomain = await getUserSubdomain(user.uid);
setSubdomain(userSubdomain);
console.log('Subdomain:', userSubdomain);
} else {
console.error('User or user.uid is undefined');
}
@ -89,6 +90,7 @@ const CreateServer = ({ user, onCreateServer }) => {
onChange={(e) => setServerVersion(e.target.value)}
>
<option value="1.20.5">Version</option>
<option value="1.21">1.21</option>
<option value="1.20.6">1.20.6</option>
</select>
<button className={styles.btnServCreate} onClick={handleCreateServer}>