Drop the unused eslint-disable directives. [skip build]
This commit is contained in:
@@ -88,7 +88,6 @@ function CreateRoomModal({ state }: CreateRoomModalProps) {
|
||||
const newContent: PaarrotSubRoomsContent = {
|
||||
children: [...currentChildren, newRoomId],
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
await mx.sendStateEvent(
|
||||
parentSubRoomId,
|
||||
StateEvent.PaarrotSubRooms as any,
|
||||
@@ -118,7 +117,6 @@ function CreateRoomModal({ state }: CreateRoomModalProps) {
|
||||
newRoomId,
|
||||
);
|
||||
} catch (spaceError) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(`Failed to add sub-room to space ${parentSpaceId}:`, spaceError);
|
||||
}
|
||||
}
|
||||
@@ -126,7 +124,6 @@ function CreateRoomModal({ state }: CreateRoomModalProps) {
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('Failed to set up sub-room relationship:', error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user