Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWilson committed Jan 28, 2023
1 parent d8f742c commit de3a37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.fs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ let view (model:Model) dispatch =
| InProgress -> Html.div [prop.text "Retreiving identity..."]
| Ready None -> Html.div [Html.text "Hello, stranger."; LoginButton dispatch]
| Ready (Some ((Facebook | AAD | Erroneous), accountName)) -> Html.div [Html.text $"Hello, {accountName}"; Html.button [prop.text "Log out"; prop.onClick (thunk1 navigateTo @".auth/logout")]]
sketchpad()
SketchPad()
Html.div [
Html.textarea [
prop.placeholder "enter some text"
Expand Down
2 changes: 1 addition & 1 deletion src/Components.fs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ open SketchCanvas
open Fable.Core.JsInterop

[<ReactComponent>]
let sketchpad dispatch =
let SketchPad dispatch =
let canvas = React.useRef(None)
let html, htmlUpdate = React.useState "Press the Export SVG button"
let lastPath, lastPathUpdate = React.useState "No paths yet"
Expand Down

0 comments on commit de3a37d

Please sign in to comment.