feat(ui): improve error handling on categories page

This commit is contained in:
shafin-r
2025-10-06 18:14:00 +06:00
parent 108d34988d
commit 351c8eab48
2 changed files with 34 additions and 1 deletions

View File

@ -121,11 +121,16 @@ export default function MockScreen() {
</button>
</div>
))
) : (
) : refreshing ? (
<div className="flex flex-col items-center justify-center">
<div className="animate-spin rounded-full h-12 w-12 border-b-2 border-blue-500 mb-4"></div>
<p className="text-xl font-medium text-center">Loading...</p>
</div>
) : (
<DestructibleAlert
text="There aren't any tests available for you. Check back later?"
variant="warning"
/>
)}
</div>
<div className="flex justify-center mt-4">

28
bash.exe.stackdump Normal file
View File

@ -0,0 +1,28 @@
Stack trace:
Frame Function Args
0007FFFFB730 00021006118E (00021028DEE8, 000210272B3E, 0007FFFFB730, 0007FFFFA630) msys-2.0.dll+0x2118E
0007FFFFB730 0002100469BA (000000000000, 000000000000, 000000000000, 0007FFFFBA08) msys-2.0.dll+0x69BA
0007FFFFB730 0002100469F2 (00021028DF99, 0007FFFFB5E8, 0007FFFFB730, 000000000000) msys-2.0.dll+0x69F2
0007FFFFB730 00021006A41E (000000000000, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x2A41E
0007FFFFB730 00021006A545 (0007FFFFB740, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x2A545
0007FFFFBA10 00021006B9A5 (0007FFFFB740, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x2B9A5
End of stack trace
Loaded modules:
000100400000 bash.exe
7FFA7B7E0000 ntdll.dll
7FFA7A000000 KERNEL32.DLL
7FFA78C70000 KERNELBASE.dll
7FFA7A690000 USER32.dll
7FFA79000000 win32u.dll
7FFA79860000 GDI32.dll
7FFA79490000 gdi32full.dll
7FFA79280000 msvcp_win.dll
000210040000 msys-2.0.dll
7FFA79160000 ucrtbase.dll
7FFA79630000 advapi32.dll
7FFA7B240000 msvcrt.dll
7FFA7B090000 sechost.dll
7FFA79890000 RPCRT4.dll
7FFA784C0000 CRYPTBASE.DLL
7FFA795B0000 bcryptPrimitives.dll
7FFA79FC0000 IMM32.DLL