🐛 Fix gists styles

fix #48
fix #49
This commit is contained in:
DefectingCat
2022-06-20 17:22:31 +08:00
parent 6f3b54ab28
commit badd9f2727
7 changed files with 145 additions and 184 deletions

View File

@ -31,7 +31,7 @@ export const getUser = async () => {
)) as GithubUser;
};
export const getSignalGist = async (id: string | string[] | undefined) => {
export const getSignalGist = async (id: string) => {
return (await fetch(`${baseUrl}/gists/${id}`, { headers }).then((res) =>
res.json()
)) as SignalGist;