elm-format

pull/33/head
Bram 2024-07-15 15:57:08 +02:00
parent d7a7fa385c
commit 90eb06f3a1
1 changed files with 9 additions and 9 deletions

View File

@ -318,19 +318,19 @@ update updateContent eu startData =
RemoveAccessToken token -> RemoveAccessToken token ->
Recursion.base Recursion.base
(\({context} as data) -> (\({ context } as data) ->
{ data { data
| context = | context =
{ context { context
| accessTokens = | accessTokens =
Hashdict.removeKey token context.accessTokens Hashdict.removeKey token context.accessTokens
} }
} }
) )
RemovePasswordIfNecessary -> RemovePasswordIfNecessary ->
Recursion.base Recursion.base
(\({context} as data) -> (\({ context } as data) ->
if data.settings.removePasswordOnLogin then if data.settings.removePasswordOnLogin then
{ data | context = { context | password = Nothing } } { data | context = { context | password = Nothing } }
@ -340,7 +340,7 @@ update updateContent eu startData =
SetAccessToken a -> SetAccessToken a ->
Recursion.base Recursion.base
(\({context} as data) -> (\({ context } as data) ->
{ data | context = { context | accessTokens = Hashdict.insert a context.accessTokens } } { data | context = { context | accessTokens = Hashdict.insert a context.accessTokens } }
) )