mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 07:56:11 +02:00
style: auto format codebase
This commit is contained in:
@@ -116,9 +116,9 @@ async function getCharacters() {
|
||||
|
||||
// or, mixed
|
||||
async function getCharacters() {
|
||||
const data = await fetch(
|
||||
`https://rickandmortyapi.com/api/character`
|
||||
).then((res) => res.json());
|
||||
const data = await fetch(`https://rickandmortyapi.com/api/character`).then(
|
||||
(res) => res.json()
|
||||
);
|
||||
return data.results;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user