diff --git a/pages/settings.js b/pages/settings.js index a742f8a5..3825d1b7 100644 --- a/pages/settings.js +++ b/pages/settings.js @@ -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