diff --git a/src/pages/drive/index.tsx b/src/pages/drive/index.tsx index 9acaf389..f6665c86 100644 --- a/src/pages/drive/index.tsx +++ b/src/pages/drive/index.tsx @@ -148,7 +148,7 @@ const Drive: FC = () => { await handleFetchPods(); } } else { - setError(errorToString(error)); + setError(errorToString(e)); } } finally { setLoading(false);