Skip to content

Commit

Permalink
Merge pull request #114 from Hanaemong/#113
Browse files Browse the repository at this point in the history
[refactor] 모임, 채팅 없을 시 문구 추가
  • Loading branch information
abcxj123 authored Jul 9, 2024
2 parents 4cab8e5 + 9b7b840 commit c9c39cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Register a service worker hosted at the root of the
// site using the default scope.
navigator.serviceWorker
.register("./sw.js")
.register("/sw.js")
.then((registration) => {
console.log("Service worker registration succeeded:", registration);
})
Expand Down
5 changes: 5 additions & 0 deletions src/pages/my/My.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ const My = () => {
from="my"
/>
))}
{list?.data!.length == 0 && (
<p className="w-full pt-16 text-center text-3xl font-hanaLight">
아직 가입한 모임이 없어요 :(
</p>
)}
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/team/ChatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ const ChatList = () => {
isNew={false}
/>
))}
{list?.data!.length == 0 && (
<p className="w-full pt-16 text-center text-3xl font-hanaLight">
아직 가입한 모임이 없어요 :(
</p>
)}
</div>
</div>
</section>
Expand Down

0 comments on commit c9c39cb

Please sign in to comment.