diff --git a/src/pages/index.js b/src/pages/index.js index 42d7c6b..093475a 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -5,7 +5,6 @@ import { Grid, Input, Link, - Modal, Radio, Spacer, Spinner, @@ -30,8 +29,6 @@ export default class Home extends Component { this.state = { loading: true, steamId: undefined, - isPreviewVisible: false, - previewUrl: undefined, overlayUrl: undefined, avatarUrl: undefined, @@ -87,13 +84,6 @@ export default class Home extends Component { this.setState({ loading: false }); } - loadPreview() { - this.setState({ - isPreviewVisible: true, - previewUrl: this.generateUrl(), - }); - } - generateUrl() { let values = ""; Object.entries(this.state.values).forEach((value) => { @@ -161,26 +151,6 @@ export default class Home extends Component { marginTop: "$8", }} > - {/* Preview */} - {this.state.isPreviewVisible ? ( - this.setState({ isPreviewVisible: false })} - > - - Overlay Preview - - - - - - ) : ( - <> - )} - Open Overlay -