Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsrobot committed Dec 19, 2023
1 parent 9a4060a commit c93b543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/channel-feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function ChannelFeed(props) {
const idx = messages.length - 1;
const prev = messages[idx];

if ((!!prev.optimistic && channel.user.handle == update.user.handle && update.files.length == 0) || prev.id == update.id) {
if ((!!prev.optimistic && channel.user.handle == update.user.handle) || prev.id == update.id) {

let mp = [...messages];

Expand All @@ -72,7 +72,7 @@ export default function ChannelFeed(props) {
});
}
} catch (e) {
console.error("encountered an error json decoding")
console.error("encountered an error json decoding");
}
}
}, [lastJsonMessage, channel, messages]);
Expand Down
1 change: 0 additions & 1 deletion app/wikid.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export const me = async (jwt) => {
...standardHeaders,
}


try {
const { data, status: s } = await axios({
method: 'get',
Expand Down

0 comments on commit c93b543

Please sign in to comment.