From 08e43bb9cfda6abe599efd0f0a8a924bb2f8572b Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 28 Aug 2020 20:12:58 +1000 Subject: [PATCH] Updated release notes with default open for hashes --- src/routes/ReleaseNotes.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/routes/ReleaseNotes.js b/src/routes/ReleaseNotes.js index fce217a..dcb065b 100644 --- a/src/routes/ReleaseNotes.js +++ b/src/routes/ReleaseNotes.js @@ -1,6 +1,7 @@ import React from "react"; import { Flex, Text } from "theme-ui"; import raw from "raw.macro"; +import { useLocation } from "react-router-dom"; import Footer from "../components/Footer"; import Markdown from "../components/Markdown"; @@ -20,6 +21,7 @@ const v150 = raw("../docs/releaseNotes/v1.5.0.md"); const v151 = raw("../docs/releaseNotes/v1.5.1.md"); function ReleaseNotes() { + const location = useLocation(); return (
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +