diff --git a/compiler/forget/src/HIR/Globals.ts b/compiler/forget/src/HIR/Globals.ts index 036daae845..7ea650abd4 100644 --- a/compiler/forget/src/HIR/Globals.ts +++ b/compiler/forget/src/HIR/Globals.ts @@ -132,6 +132,15 @@ const TYPED_GLOBALS: Array<[string, BuiltInType]> = [ ]; const BUILTIN_HOOKS: Array<[string, Hook]> = [ + [ + "useContext", + { + kind: "State", + name: "useContext", + effectKind: Effect.Read, + valueKind: ValueKind.Mutable, + }, + ], [ "useState", {