@cuadra-ai/uikit 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4651,7 +4651,7 @@ function Lo({ onSelect: e }) {
4651
4651
  }, x = async (y) => {
4652
4652
  y.stopPropagation();
4653
4653
  try {
4654
- o && await n.switchToNewThread(), await t.delete();
4654
+ await t.delete(), o && await n.switchToNewThread();
4655
4655
  } catch (b) {
4656
4656
  console.error("[CuadraChat] Failed to delete thread:", b);
4657
4657
  }