teodor-new-chat-ui 4.3.241 → 4.3.243

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.esm.js CHANGED
@@ -4027,8 +4027,8 @@ function Xx({
4027
4027
  }
4028
4028
  }
4029
4029
  }, [c, B, I, s]), Xe = ke(async () => {
4030
- E([], {}), J([]), j(!1), D(null);
4031
- }, [E]), Ze = ke(
4030
+ E([], {}), x(null), H(), J([]), j(!1), D(null);
4031
+ }, [E, H]), Ze = ke(
4032
4032
  async (ce, fe, he) => {
4033
4033
  const ze = V.current;
4034
4034
  if (!ze)
@@ -4061,10 +4061,6 @@ function Xx({
4061
4061
  async (ce, fe) => {
4062
4062
  const he = V.current, ze = (ce == null ? void 0 : ce.text) ?? "";
4063
4063
  if (!he && !ze) return;
4064
- if (!he) {
4065
- await Z("New Chat");
4066
- return;
4067
- }
4068
4064
  const { contentParts: De } = await wx(
4069
4065
  c,
4070
4066
  (ce == null ? void 0 : ce.attachments) ?? []