mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: rp: fix wrong contest status count (#530)
This commit is contained in:
1 parent
2731d4ba3a
commit
4df9527eac
7 files changed
+20
-5
No files matched your search
@@ -85,7 +85,11 @@ export default function ScratchpadContainer() {
|
||||
{Object.keys(pages).map((key) => {
|
||||
const Component = pages[key].icon;
|
||||
return (
|
||||
<div key={key} className={key === ui.activePage ? 'scratchpad__tab-active' : ''} onClick={() => switchToPage(key)}>
|
||||
<div
|
||||
key={key}
|
||||
className={`scratchpad__tabicon-${key}${key === ui.activePage ? ' scratchpad__tab-active' : ''}`}
|
||||
onClick={() => switchToPage(key)}
|
||||
>
|
||||
<Component />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user