mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
Fix possibly undefined typescript warn
This commit is contained in:
parent
5c8b5347e6
commit
cc2afef3fe
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import AddNewService from '@components/things/AddNewService.svelte';
|
|||
import { fetchGitHubStats } from '@utils/fetch-repo-info'
|
||||
import { formatDate } from '@utils/dates-n-stuff';
|
||||
|
||||
const commits = (await fetchGitHubStats('lissy93/awesome-privacy')).commits;
|
||||
const commits = (await fetchGitHubStats('lissy93/awesome-privacy') || {}).commits;
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue