moved useSocket into Context
This commit is contained in:
@@ -109,8 +109,3 @@ export interface Tilt {
|
||||
rotateX: number;
|
||||
rotateY: number;
|
||||
}
|
||||
|
||||
export interface AppContext {
|
||||
tilts: Tilt[];
|
||||
setTilts: (tilts: Tilt[]) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user