tentative de fix pls

This commit is contained in:
AntoninoP 2024-08-12 19:06:57 +02:00
parent a3f5f5b627
commit d92d85a8bc

View File

@ -3,17 +3,12 @@ import styles from './CreateServer.module.scss';
import { getUserSubdomain } from "../../service/firebase"; import { getUserSubdomain } from "../../service/firebase";
import serviiApi from "../../service/api.tsx"; import serviiApi from "../../service/api.tsx";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import vanillaLogo from '../../assets/frameworks/vanilla.png';
import bukkitLogo from '../../assets/frameworks/bukkit.png';
import paperLogo from '../../assets/frameworks/paper.png';
import spigotLogo from '../../assets/frameworks/spigot.png';
const frameworks = [ const frameworks = [
{ name: 'vanilla', logo: vanillaLogo }, { name: 'vanilla', logo: new URL('../../assets/frameworks/vanilla.png', import.meta.url).href },
{ name: 'bukkit', logo: bukkitLogo }, { name: 'bukkit', logo: new URL('../../assets/frameworks/bukkit.png', import.meta.url).href },
{ name: 'spigot', logo: spigotLogo }, { name: 'spigot', logo: new URL('../../assets/frameworks/spigot.png', import.meta.url).href },
{ name: 'paper', logo: paperLogo }, { name: 'paper', logo: new URL('../../assets/frameworks/paper.png', import.meta.url).href },
]; ];
const versions = { const versions = {