Skip to content

Commit 34690f9

Browse files
committed
Fix pair source code view
1 parent 0f66597 commit 34690f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/client/problems/components/SourceCode.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ const PairSourceCode = (props: SourceCodeProps) => (
104104
sourceCode={`public class Pair {
105105
public Object first;
106106
public Object second;
107+
108+
public Pair(Object first, Object second) {
109+
this.first = first;
110+
this.second = second;
111+
}
107112
}`}
108113
show={props.show}
109114
onHide={props.onHide}

0 commit comments

Comments
 (0)