CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/frontend/compute/address.tsx
Views: 687
1
/*
2
Not used yet, but planned.
3
*/
4
5
import { redux } from "@cocalc/frontend/app-framework";
6
7
export default function Address({ name }) {
8
const dns = redux.getStore("customize")?.get("dns");
9
if (!dns) return null;
10
return (
11
<span>
12
{name}.{dns}
13
</span>
14
);
15
}
16
17