Skip to content

Commit

Permalink
fix: Don't embed the icon font (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored and ggazzo committed Aug 16, 2019
1 parent 3b28f91 commit e75bd25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions packages/fuselage/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ addParameters({
addDecorator(withTests({ results }));

configure(() => {
require('@rocket.chat/icons/dist/font/RocketChat.minimal.css');
const requireStories = require.context('../src', true, /stories(\/index)?\.js$/);
requireStories.keys().forEach(requireStories);
}, module);
1 change: 0 additions & 1 deletion packages/fuselage/src/components/Icon/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import * as characters from '@rocket.chat/icons/dist/font/characters';
import * as names from '@rocket.chat/icons/dist/font/index';
import '@rocket.chat/icons/dist/font/RocketChat.minimal.css';

import { useStyle } from '../../hooks/styles';
import styles from './styles.scss';
Expand Down

0 comments on commit e75bd25

Please sign in to comment.