Explorar o código

remove unnecessary

Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
ea752b6397
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      packages/app/src/stores/activity.ts

+ 0 - 7
packages/app/src/stores/activity.ts

@@ -19,10 +19,3 @@ export const useSWRxActivityList = (limit?: number, offset?: number, searchFilte
       .then(result => result.data.paginationResult),
   );
 };
-
-export const useSWRxUsernameList = (q: string): SWRResponse<string[], Error> => {
-  return useSWRImmutable(
-    ['/activity/usernames', q],
-    (endpoint, q) => apiv3Get(endpoint, { q }).then(result => result.data.usernames),
-  );
-};