Skip to content

Commit

Permalink
Merge pull request tone-row#562 from tone-row/dev
Browse files Browse the repository at this point in the history
v1.37.7
  • Loading branch information
rob-gordon authored Jul 27, 2023
2 parents 51b5baa + f2709f2 commit eeb044b
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.37.6",
"version": "1.37.7",
"main": "module/module.js",
"license": "MIT",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions app/src/components/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { usePageViews } from "../lib/analytics";
import Feedback from "./Feedback";
import Layout from "./Layout";
import Settings from "./Settings";

/** Public view of hosted chart (permalink), readonly */
const Public = lazy(() => import("../pages/Public"));
/** Edit charts in local storage */
Expand All @@ -23,6 +24,8 @@ const New = lazy(() => import("../pages/New"));
const Login = lazy(() => import("../pages/LogIn"));
const Charts = lazy(() => import("../pages/Charts"));
const DesignSystem = lazy(() => import("../pages/DesignSystem"));
const PrivacyPolicy = lazy(() => import("../pages/PrivacyPolicy"));
const CookiePolicy = lazy(() => import("../pages/CookiePolicy"));

export default function Router() {
usePageViews();
Expand Down Expand Up @@ -86,6 +89,12 @@ export default function Router() {
<RouteWithWrapper path="/d">
<DesignSystem />
</RouteWithWrapper>
<RouteWithWrapper path="/privacy-policy">
<PrivacyPolicy />
</RouteWithWrapper>
<RouteWithWrapper path="/cookie-policy">
<CookiePolicy />
</RouteWithWrapper>
<RouteWithWrapper path="/:workspace">
<Edit />
</RouteWithWrapper>
Expand Down
70 changes: 70 additions & 0 deletions app/src/pages/CookiePolicy.tsx

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions app/src/pages/PrivacyPolicy.tsx

Large diffs are not rendered by default.

0 comments on commit eeb044b

Please sign in to comment.