Skip to content

Commit

Permalink
chat
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Jul 29, 2023
1 parent fea43f0 commit 8eb8505
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/js/components/feed/BaseFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,7 @@ class Feed extends BaseComponent<FeedProps, FeedState> {
/>
</Show>
<Show when={this.state.events.length === 0}>
<div className="msg">
<div className="msg-content notification-msg">
{this.props.emptyMessage || t('no_events_yet')}
</div>
</div>
<div className="px-2 md:px-4 py-2">{this.props.emptyMessage || t('no_events_yet')}</div>
</Show>
{renderAs === 'NoteImage' ? <ImageGrid>{events}</ImageGrid> : events}
<Show when={displayCount < this.state.events.length}>
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/feed/ShowMore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { translate as t } from '../../translations/Translation.mjs';

function ShowMore({ onClick }) {
return (
<button className="btn btn-neutral btn-sm my-4" onClick={onClick}>
<button className="btn btn-neutral btn-sm m-4" onClick={onClick}>
{t('show_more')}
</button>
);
Expand Down
2 changes: 1 addition & 1 deletion src/js/views/chat/ChatMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function ChatMessages({ id }) {
/>
</div>
<Show when={showQr}>
<QrCode data={formatPrivateKey()} />
<QrCode data={'nostr:' + formatPrivateKey()} />
</Show>
</Show>
<Show when={!isGroup}>{t('dm_privacy_warning')}</Show>
Expand Down

0 comments on commit 8eb8505

Please sign in to comment.