public async OnFileChange()

in src/features/ui/chat/chat-input-area/input-image-store.ts [36:45]


  public async OnFileChange(event: React.ChangeEvent<HTMLInputElement>) {
    const file = event.target.files?.[0];
    if (file) {
      const base64 = await this.fileToBase64(file);
      const url = URL.createObjectURL(file);
      this.previewImage = url;
      this.base64Image = base64;
      this.fileUrl = file.name;
    }
  }