This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { connect } from 'formik'; | |
class ErrorFocus extends React.Component { | |
componentDidUpdate(prevProps) { | |
const { isSubmitting, isValidating, errors } = prevProps.formik; | |
const keys = Object.keys(errors); | |
if (keys.length > 0 && isSubmitting && !isValidating) { | |
const selector = `[id="${keys[0]}"]`; | |
const errorElement = document.querySelector(selector); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Season | Episode | Title | Reason | |
---|---|---|---|---|
1 | 5 | The Enchiridion | A good intro to the series, plus introduces the important Enchiridion | |
1 | 2 | Trouble in Lumpy Space* | Introduces LSP (episode out of order) | |
1 | 3 | Prisoners of Love | Introduces Ice King and his obsession (episode out of order) | |
1 | 7 | Ricardio the Heart Guy | Finn and PB development, Sets a returning plot | |
1 | 8 | Business Time* | First mention of Ooo being post-apocalyptic | |
1 | 9 | My Two Favorite People | Intros the Jake and Lady Rainicorn plotline | |
1 | 10 | Memories of Boom Boom Mountain | A look at how Finn was adopted into Jake's Family | |
1 | 12 | Evicted! | Intros Marceline |