Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit cbe8fe7

Browse files
Get rid of Process.env
1 parent 6a4b23a commit cbe8fe7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.storybook/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22
const sass = require('sass');
33
const webpack = require('webpack');
44

5-
const static_url = process.env.STATIC_URL || 'http://localhost:9001';
5+
const static_url = 'http://localhost:9001';
66

77
module.exports = {
88
plugins: [

src/stories/layout_resource_grid.stories.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ import SubResourceList from '../components/sub_resource_list';
1515

1616
const stories = storiesOf('Layout', module);
1717

18-
const logobot = process.env.NODE_ENV === 'development'
19-
? '../images/logobot-placeholder-dark.svg'
20-
: './images/logobot-placeholder-dark.svg';
18+
const logobot = './images/logobot-placeholder-dark.svg';
2119

2220
stories.addDecorator(withKnobs);
2321

0 commit comments

Comments
 (0)