From d99232a16037b0c3ec168a3fbfa3c7df27aaf5ab Mon Sep 17 00:00:00 2001 From: Mac Cowell Date: Fri, 19 Apr 2019 03:43:49 -0700 Subject: [PATCH] fix missing backtick typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... but there are still errors - now `docz dev` is complaining ``` ./node_modules/docz-theme-default/node_modules/docz/dist/index.m.js Module not found: Can't resolve '~db' in '/Users/100ideas/dev/da-play/0_mock/rbx/node_modules/docz-theme-default/node_modules/docz/dist' ``` so upgraded `docz-theme-default` to `latest` (v1.0.4), deleted `./docz/` cache, and ran `$ ./node_modules/.bin/docz dev`... and got react errors in browser when looking at rbx components in docz: ``` (BaseSimplePropsTable, in code (at simple-props-table.tsx:131)) Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `BaseSimplePropsTable`. ``` but the components do render and can be clicked. there's just a big error box. 😢 also, there is a mismatch between how the make tasks are named in the Makefile and how they are called from npm package.json scripts. Makefile uses hyphen like 'docs-dev' but package.json uses underscore like 'docs_dev'. Also, in package.json, should build command be 'make' or 'make build'? latter doesn't work for me. --- src/components/navbar/__docs__/navbar.docs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/navbar/__docs__/navbar.docs.mdx b/src/components/navbar/__docs__/navbar.docs.mdx index 208d169e..5c003e61 100644 --- a/src/components/navbar/__docs__/navbar.docs.mdx +++ b/src/components/navbar/__docs__/navbar.docs.mdx @@ -476,7 +476,7 @@ To create a **\*dropdown menu** you'll need the following **5** components: - `` with the `dropdown` prop - `` which contains the dropdown arrow -- `` which contains instances of ` and`` +- `` which contains instances of `` and``