Skip to content

Commit 503a002

Browse files
committed
feat: 在Header中集成算法思路按钮
1 parent 42c2153 commit 503a002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Header/Header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useEffect, useState } from 'react';
22
import { githubStarService } from '../../services/GitHubStarService';
3+
import { AlgorithmHint } from '../AlgorithmHint';
34
import styles from './Header.module.css';
45

56
const LEETCODE_URL = 'https://leetcode.cn/problems/minimum-path-sum/';
@@ -68,7 +69,7 @@ export function Header() {
6869
</div>
6970

7071
<div className={styles.rightSection}>
71-
{/* 占位,保持布局平衡 */}
72+
<AlgorithmHint />
7273
</div>
7374
</header>
7475
);

0 commit comments

Comments
 (0)