move images out of public/static folder

This way, we get compile error if there problem with images. Also allows
images to be optimized.
This commit is contained in:
David Lechner
2020-05-26 21:20:08 -05:00
committed by David Lechner
parent 865d37a138
commit 3e4ea382e5
19 changed files with 18 additions and 16 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import { startRepl } from '../actions/hub';
import { RootState } from '../reducers';
import { HubRuntimeState } from '../reducers/hub';
import ActionButton, { ActionButtonProps } from './ActionButton';
import replIcon from './images/repl.svg';
type Dispatch = ThunkDispatch<{}, {}, AnyAction>;
@@ -33,7 +34,7 @@ const mergeProps = (
ownProps: OwnProps,
): ActionButtonProps => ({
tooltip: 'Start REPL in terminal',
icon: 'repl.svg',
icon: replIcon,
...ownProps,
...stateProps,
...dispatchProps,