From: Kai Moritz Date: Sat, 7 Jan 2023 18:46:57 +0000 (+0100) Subject: style: Fixed code-style in `chatroom.component.ts` X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=bd2b3e38c6f21a24bd4f50b4f713e59500241019;p=demos%2Fkafka%2Fchat style: Fixed code-style in `chatroom.component.ts` --- diff --git a/src/app/chatroom/chatroom.component.ts b/src/app/chatroom/chatroom.component.ts index c94a55bf..3f50feee 100644 --- a/src/app/chatroom/chatroom.component.ts +++ b/src/app/chatroom/chatroom.component.ts @@ -1,9 +1,9 @@ import { Component, OnInit, NgZone, OnDestroy } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; -import { ChatroomService } from "../chatroom.service"; -import { UserService } from "../user.service"; -import { Chatroom } from "../chatroom"; -import { Message } from "../message"; +import { ChatroomService } from '../chatroom.service'; +import { UserService } from '../user.service'; +import { Chatroom } from '../chatroom'; +import { Message } from '../message'; @Component({ selector: 'app-chatroom', @@ -12,7 +12,7 @@ import { Message } from "../message"; }) export class ChatroomComponent implements OnInit, OnDestroy { - chatroom: Chatroom = { id: 'FOO', name: 'BAR'}; + chatroom: Chatroom = { id: 'FOO', name: 'BAR' }; messages: Message[] = []; constructor(