fix settings hydration error
This commit is contained in:
parent
d04dc691df
commit
63a4a7acad
@ -353,7 +353,8 @@ function AuthMethods ({ methods }) {
|
||||
}
|
||||
)
|
||||
|
||||
const providers = Object.keys(methods).filter(k => k !== '__typename')
|
||||
// sort to prevent hydration mismatch
|
||||
const providers = Object.keys(methods).filter(k => k !== '__typename').sort()
|
||||
|
||||
const unlink = async type => {
|
||||
// if there's only one auth method left
|
||||
|
Loading…
x
Reference in New Issue
Block a user