diff --git a/package.json b/package.json index bccf737f..28093df8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably/ui", - "version": "14.1.8", + "version": "14.2.0", "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.", "repository": { "type": "git", diff --git a/src/core/Footer.tsx b/src/core/Footer.tsx index 6ceea2a9..e7a51b2f 100644 --- a/src/core/Footer.tsx +++ b/src/core/Footer.tsx @@ -2,6 +2,7 @@ import React from "react"; import Icon from "./Icon"; import _absUrl from "./url-base.js"; +import Status from "./Status.js"; type FooterProps = { paths: { @@ -12,11 +13,14 @@ type FooterProps = { fastestImplementation: string; }; urlBase: string; + statusUrl: string; }; -const Footer = ({ paths, urlBase }: FooterProps) => { +const Footer = ({ paths, urlBase, statusUrl }: FooterProps) => { const absUrl = (path) => _absUrl(path, urlBase); + // create a react hook that calls the statusUrl and returns the status of the system every minute + return (