mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
JavaScript
13 lines
378 B
JavaScript
import App from './components/App';
|
|
import React from 'react';
|
|
import DownloadActions from './actions/DownloadActions';
|
|
|
|
if (window.WebDrop) DownloadActions.setDownloadInfo({
|
|
token: window.WebDrop.token,
|
|
name: window.WebDrop.metadata.name,
|
|
size: window.WebDrop.metadata.size,
|
|
type: window.WebDrop.metadata.type
|
|
})
|
|
|
|
React.render(<App />, document.getElementById('app'));
|