Skip to content

Commit d6b46bd

Browse files
author
Savina Shen (Manpower Services Taiwan Co Ltd)
committed
use storybook environment variable
1 parent 06a7c46 commit d6b46bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/key.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { IAzureMapOptions, AuthenticationType } from 'react-azure-maps';
2-
// require('dotenv').config();
32

4-
export const key = process.env.REACT_APP_AZURE_MAPS_KEY || '';
3+
export const key = process.env.STORYBOOK_AZURE_MAPS_KEY || '';
54

65
export const mapOptions: IAzureMapOptions = {
76
authOptions: {

0 commit comments

Comments
 (0)