Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Sep 8, 2023
1 parent 1211093 commit f815eb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/stores/objects/QueuedMessage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIUser, MessageType } from "@spacebarchat/spacebar-api-types/v9";
import { action, makeAutoObservable, observable } from "mobx";
import { action, observable } from "mobx";
import AppStore from "../AppStore";
import MessageBase from "./MessageBase";

Expand Down Expand Up @@ -30,11 +30,8 @@ export default class QueuedMessage extends MessageBase {
super(app, data);
this.id = data.id;
this.channel = data.channel;
this.content = data.content;
this.files = data.files;
this.status = QueuedMessageStatus.SENDING;

makeAutoObservable(this);
}

@action
Expand Down

0 comments on commit f815eb5

Please sign in to comment.