diff --git a/docs/walkthroughs/01-installing-slate.md b/docs/walkthroughs/01-installing-slate.md index e7345e13e..5ef139a31 100644 --- a/docs/walkthroughs/01-installing-slate.md +++ b/docs/walkthroughs/01-installing-slate.md @@ -17,6 +17,9 @@ _Note, if you'd rather use a pre-bundled version of Slate, you can `yarn add sla Once you've installed Slate, you'll need to import it. ```js +// Import React dependencies. +import React, { useEffect, useMemo, useState } from "react"; + // Import the Slate editor factory. import { createEditor } from 'slate'