@marimo-team/frontend 0.24.1-dev112 → 0.24.1-dev113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/frontend",
3
- "version": "0.24.1-dev112",
3
+ "version": "0.24.1-dev113",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -21,13 +21,14 @@ import { Input } from "../ui/input";
21
21
  import { Tooltip } from "../ui/tooltip";
22
22
 
23
23
  const BASE_URL = "https://static.marimo.app";
24
-
25
24
  export const ShareStaticNotebookModal: React.FC<{
26
25
  onClose: () => void;
27
26
  }> = ({ onClose }) => {
28
27
  const [slug, setSlug] = useState("");
29
28
  const { exportAsHTML } = useRequestClient();
30
- // 4 character random string
29
+
30
+ // Keep one random suffix for the lifetime of the modal.
31
+ // oxlint-disable-next-line react/purity
31
32
  const randomHash = useMemo(() => Math.random().toString(36).slice(2, 6), []);
32
33
 
33
34
  // Globally unique path