diff --git a/src/components/Tab1.tsx b/src/components/Tab1.tsx index 3ae73f7..edcb4b8 100644 --- a/src/components/Tab1.tsx +++ b/src/components/Tab1.tsx @@ -6,7 +6,7 @@ import googlecode from "react-syntax-highlighter/styles/hljs/googlecode"; let exampleText = ` void Main() { - var next5Friday13 = DateTime.Today + let next5Friday13 = DateTime.Today .Recurse(a=>a.AddDays(1)) .Where(a=>a.Day == 13 && a.DayOfWeek == DayOfWeek.Friday).Take(5); @@ -15,7 +15,7 @@ public static class Extension { public static IEnumerable Recurse(this T obj, Func action) { - var local = obj; + let local = obj; while(true) { local = action(local); diff --git a/src/components/TabNav.tsx b/src/components/TabNav.tsx index 2f485ba..7968bae 100644 --- a/src/components/TabNav.tsx +++ b/src/components/TabNav.tsx @@ -22,8 +22,8 @@ export class TabNav extends React.Component { } } render() { - var plzLogin =

Please login, yo

- var editor = + let plzLogin =

Please login, yo

+ let editor = return (