Skip to content

Commit 03ba0ef

Browse files
committed
fix(learnocaml_common.ml): Remove unused var (leftover of PR #489)
This small patch avoids a warning and also saves one HTTP request.
1 parent 772c40d commit 03ba0ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/learnocaml_common.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,8 +1137,6 @@ let get_token ?(has_server = true) () =
11371137
Lwt.return
11381138
with
11391139
Not_found ->
1140-
retrieve (Learnocaml_api.Nonce ())
1141-
>>= fun nonce ->
11421140
ask_string ~title:"Token"
11431141
[H.txt [%i"Enter your token"]]
11441142
>>= fun input_tok ->

0 commit comments

Comments
 (0)