Skip to content

Commit

Permalink
fix(loadingindicator): update SVG import to use relative path (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan authored Oct 5, 2021
1 parent 8c34c40 commit f35327e
Show file tree
Hide file tree
Showing 4 changed files with 543 additions and 449 deletions.
1 change: 0 additions & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require("path");
const pathToInlineSvg = path.resolve(__dirname, "../src/common/svgs/");

module.exports = ({ config }) => {
config.resolve.alias = {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@material-ui/lab": "^4.0.0-alpha.57",
"@rollup/plugin-typescript": "^8.2.0",
"@rollup/plugin-url": "^6.1.0",
"@storybook/addon-actions": "^6.3.8",
"@storybook/addon-essentials": "^6.3.8",
"@storybook/addon-links": "^6.3.8",
"@storybook/react": "^6.3.8",
"@storybook/addon-actions": "^6.3.9",
"@storybook/addon-essentials": "^6.3.9",
"@storybook/addon-links": "^6.3.9",
"@storybook/react": "^6.3.9",
"@svgr/rollup": "^5.5.0",
"@svgr/webpack": "^5.5.0",
"@types/react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/core/LoadingIndicator/style.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css, SerializedStyles } from "@emotion/react";
import styled from "@emotion/styled";
import { ReactComponent as IconLoadingAnimated } from "src/common/svgs/IconLoadingAnimated.svg";
import { ReactComponent as IconLoadingAnimated } from "../../common/svgs/IconLoadingAnimated.svg";
import {
fontBody,
fontCapsXxxxs,
Expand Down
Loading

0 comments on commit f35327e

Please sign in to comment.