Shorten playground URL
Summary: Shorten URL using Google's URL shortner and display URL for copying. Reviewed By: emilsjolander Differential Revision: D6976973 fbshipit-source-id: cc791ffbf9e01a8dc2e0a40d05bce5022a3957bc
This commit is contained in:
committed by
Facebook Github Bot
parent
025ee03cb1
commit
96a87a811d
@@ -17,7 +17,7 @@ import Editor from './Editor';
|
||||
import {List, setIn} from 'immutable';
|
||||
import PositionRecord from './PositionRecord';
|
||||
import LayoutRecord from './LayoutRecord';
|
||||
// import Toolbar from './Toolbar';
|
||||
import URLShortener from './URLShortener';
|
||||
import Code from './Code';
|
||||
import Sidebar from './Sidebar';
|
||||
import type {LayoutRecordT} from './LayoutRecord';
|
||||
@@ -301,6 +301,7 @@ export default class Playground extends Component<Props, State> {
|
||||
direction={this.state.direction}
|
||||
/> */}
|
||||
</Sidebar>
|
||||
{this.props.persist && <URLShortener />}
|
||||
</div>
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user