mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
ajout dernier eversion
This commit is contained in:
parent
1fd5224fe6
commit
ca961f563c
@ -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}>
|
||||
|
Loading…
Reference in New Issue
Block a user