mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
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:
committed by
David Lechner
parent
865d37a138
commit
3e4ea382e5
@@ -8,6 +8,7 @@ import { stop } from '../actions/hub';
|
||||
import { RootState } from '../reducers';
|
||||
import { HubRuntimeState } from '../reducers/hub';
|
||||
import ActionButton, { ActionButtonProps } from './ActionButton';
|
||||
import stopIcon from './images/stop.svg';
|
||||
|
||||
type Dispatch = ThunkDispatch<{}, {}, AnyAction>;
|
||||
|
||||
@@ -31,7 +32,7 @@ const mergeProps = (
|
||||
ownProps: OwnProps,
|
||||
): ActionButtonProps => ({
|
||||
tooltip: 'Stop everything',
|
||||
icon: 'stop.svg',
|
||||
icon: stopIcon,
|
||||
...ownProps,
|
||||
...stateProps,
|
||||
...dispatchProps,
|
||||
|
||||
Reference in New Issue
Block a user