mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-18 05:40:31 +00:00
fix
This commit is contained in:
parent
c8f787c362
commit
52cf43d3c4
@ -42,7 +42,7 @@ const DashboardPage = ({ user }) => {
|
|||||||
const handleCreateServer = async (serverName, serverVersion) => {
|
const handleCreateServer = async (serverName, serverVersion) => {
|
||||||
try {
|
try {
|
||||||
if (!serverName || !serverVersion) return;
|
if (!serverName || !serverVersion) return;
|
||||||
await serviiApi.serverCreate(serverName, serverVersion, "spiggot");
|
await serviiApi.serverCreate(serverName, serverVersion, "spigot");
|
||||||
await loadServers();
|
await loadServers();
|
||||||
setShowCreateServer(false);
|
setShowCreateServer(false);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user