We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b79a0d4 commit 18463ffCopy full SHA for 18463ff
web/app/search/page.tsx
@@ -35,6 +35,9 @@ export default function SearchPage({
35
state: { data: pending },
36
} = usePendingFromMe();
37
38
+ if (!initialData) {
39
+ return <FullScreenCircularProgress />;
40
+ }
41
// リクエストを送ってない人のみリクエスト送信可能
42
// FIXME: O(n^2) | n = count(users) なのでめっちゃ計算コストかかる。なんとかして。
43
const canRequest = (userId: number) =>
@@ -57,7 +60,7 @@ export default function SearchPage({
57
60
{users ? (
58
61
<Table users={users} canRequest={canRequest} />
59
62
) : (
- <FullScreenCircularProgress />
63
+ <span>ユーザーが見つかりません</span>
64
)}
65
</div>
66
0 commit comments