diff options
| author | Haishan <[email protected]> | 2019-03-31 00:08:46 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-03-31 00:21:10 +0800 |
| commit | 2a9de5ea106d3fd1f966dfe2c8cf8a34fa4193d1 (patch) | |
| tree | 59a66170f5800c7acb8fc84da419821d94a6a124 /src/components/ErrorBoundaryFallback.js | |
| parent | e9518ba36a5dc7f90f41a5548b9b2c67e8e23d9c (diff) | |
icon: using svg component for the logo
Diffstat (limited to 'src/components/ErrorBoundaryFallback.js')
| -rw-r--r-- | src/components/ErrorBoundaryFallback.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ErrorBoundaryFallback.js b/src/components/ErrorBoundaryFallback.js index 5f15f4f..295d458 100644 --- a/src/components/ErrorBoundaryFallback.js +++ b/src/components/ErrorBoundaryFallback.js @@ -1,6 +1,6 @@ import React from 'react'; import Icon from 'c/Icon'; -import yacd from 's/yacd.svg'; +import SvgYacd from './SvgYacd'; import github from 's/github.svg'; import s0 from './ErrorBoundaryFallback.module.scss'; @@ -10,7 +10,7 @@ function ErrorBoundaryFallback() { return ( <div className={s0.root}> <div className={s0.yacd}> - <Icon id={yacd.id} width={150} height={150} /> + <SvgYacd width={150} height={150} /> </div> <h1>Oops, something went wrong!</h1> <p> |
