Skip to content

Commit 8f663b3

Browse files
committed
Fix type
1 parent 12f7dc4 commit 8f663b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/contexts/CollabContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type CompilerResult = {
3030
expectedResult: string;
3131
};
3232

33-
type ContextContextType = {
33+
type CollabContextType = {
3434
handleSubmitSessionClick: (time: number) => void;
3535
handleEndSessionClick: () => void;
3636
handleRejectEndSession: () => void;
@@ -39,7 +39,7 @@ type ContextContextType = {
3939
compilerResult: CompilerResult[];
4040
};
4141

42-
const CollabContext = createContext<ContextContextType | null>(null);
42+
const CollabContext = createContext<CollabContextType | null>(null);
4343

4444
const CollabProvider: React.FC<{ children?: React.ReactNode }> = (props) => {
4545
const { children } = props;

0 commit comments

Comments
 (0)