Fix #2376: remove extra "to" in error (#2402)

This commit is contained in:
Jinay Jain authored and GitHub committed 2020-07-14 11:27:54 +12:00
1 parent 938cb9ad54
commit d52fc75ab9
1 file changed
+1 -1
@@ -303,7 +303,7 @@ class GraphQLEditor extends React.PureComponent<Props, State> {
} catch (err) {
console.log('[graphql] ERROR: Failed to fetch schema', err);
newState.schemaFetchError = {
message: `Failed to to fetch schema: ${err.message}`,
message: `Failed to fetch schema: ${err.message}`,
response: responsePatch,
};
}