Skip to content

Commit

Permalink
remove storybook (github#24122)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmari authored Jan 6, 2022
1 parent 9b9a8aa commit 0da2942
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 227 deletions.
4 changes: 0 additions & 4 deletions middleware/render-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ export default async function renderPage(req, res, next) {
const { page } = context
const path = req.pagePath || req.path

if (path.startsWith('/storybook')) {
return nextHandleRequest(req, res)
}

// render a 404 page
if (!page) {
if (process.env.NODE_ENV !== 'test' && context.redirectNotFound) {
Expand Down
223 changes: 0 additions & 223 deletions pages/storybook.tsx

This file was deleted.

0 comments on commit 0da2942

Please sign in to comment.