Make dylib plugin error message more user friendly
Summary: Make dylib plugin error message more user friendly by making the URL linkable. Reviewed By: dshahidehpour Differential Revision: D10304489 fbshipit-source-id: 3d5c0d8da426e1b5580d431f07b5291dad068ffc
This commit is contained in:
committed by
Facebook Github Bot
parent
f3d2e0983e
commit
de85f9d455
@@ -9,7 +9,7 @@ import styled from '../styled/index.js';
|
||||
import React from 'react';
|
||||
import CodeBlock from './CodeBlock.js';
|
||||
|
||||
const ErrorBlockContainer = styled(CodeBlock)({
|
||||
export const ErrorBlockContainer = styled(CodeBlock)({
|
||||
backgroundColor: '#f2dede',
|
||||
border: '1px solid #ebccd1',
|
||||
borderRadius: 4,
|
||||
|
||||
@@ -68,6 +68,7 @@ export {default as CodeBlock} from './components/CodeBlock.js';
|
||||
|
||||
// error
|
||||
export {default as ErrorBlock} from './components/ErrorBlock.js';
|
||||
export {ErrorBlockContainer} from './components/ErrorBlock.js';
|
||||
export {default as ErrorBoundary} from './components/ErrorBoundary.js';
|
||||
|
||||
// interactive components
|
||||
|
||||
Reference in New Issue
Block a user