fix text
This commit is contained in:
parent
708a10d008
commit
957d389209
1 changed files with 8 additions and 2 deletions
|
@ -4,8 +4,14 @@
|
||||||
export let title: string;
|
export let title: string;
|
||||||
export let releaseYear: number;
|
export let releaseYear: number;
|
||||||
|
|
||||||
function capitalizeFirstLetter(string: string) {
|
function capitalizeFirstLetter(string: typeof compatibility) {
|
||||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
if (string === "goated") {
|
||||||
|
return "Good";
|
||||||
|
} else if (string === "based") {
|
||||||
|
return "Okay";
|
||||||
|
} else if (string === "cringe") {
|
||||||
|
return "Bad";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue