final checks #14

Merged
guus merged 3 commits from mark into master 2025-08-03 20:22:17 +02:00
Showing only changes of commit 421a004667 - Show all commits
+3 -1
View File
@@ -16,7 +16,9 @@ export default function Nominations() {
const [isLoading, setIsLoading] = useState(false);
const [message, setMessage] = useState("");
const isSpotifyURL =
/^https:\/\/open\.spotify\.com\/track\/[a-zA-Z0-9]{22}/.test(songURL);
/^https:\/\/open\.spotify\.com\/track\/[a-zA-Z0-9]{22}(\?.*)?$/.test(
songURL,
);
const { quota, setQuota } = useQuota();
async function nominate(spotifyLink: string) {
try {