Skip to content

Commit 0474f09

Browse files
committed
s/PropelIndex/Home/
1 parent 6641570 commit 0474f09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/index.tsx renamed to src/components/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { readFileSync } from "fs";
1717
import { h } from "preact";
1818
import { GlobalHeader } from "./header";
1919

20-
export const PropelIndex = props => {
20+
export const Home = props => {
2121
let md = readFileSync(__dirname + "/../../README.md", "utf8");
2222
md = "<p>" + md.replace(/\n\n/g, "\n\n<p>");
2323
return (

src/pages.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// This is the propelml.org website. It is used both server-side and
1717
// client-side for generating HTML.
1818
import { Component, h, render } from "preact";
19-
import { PropelIndex } from "./components/index";
19+
import { Home } from "./components/home";
2020
import * as db from "./db";
2121
import * as nb from "./notebook_root";
2222
import * as types from "./types";
@@ -116,7 +116,7 @@ export const pages: Page[] = [
116116
{
117117
title: "Propel ML",
118118
path: "index.html",
119-
root: PropelIndex,
119+
root: Home,
120120
route: /^\/(index.html)?$/
121121
},
122122
{

0 commit comments

Comments
 (0)