1 parent e89ac34 commit 55d8fbbCopy full SHA for 55d8fbb
src/codeTemplates/codeTemplate.jsx
@@ -28,7 +28,7 @@ export default function CodeTemplate({ templates }) {
28
29
return (
30
<div>
31
- <Tabs activeKey={tab}>
+ <Tabs activeKey={tab} onChange={setTab}>
32
{tempaltesState.map((tempalte) => (
33
<TabPane
34
tab={
src/codeTemplates/index.js
@@ -11,7 +11,7 @@ import handWriting from "./hand-writing";
11
import rotate from "./rotate";
12
import grapth from "./grapth";
13
import prime from "./prime";
14
-console.log(binarySearch,"123");
+
15
const templates = [
16
preSum,
17
grapth,
0 commit comments