mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use api core
This commit is contained in:
parent
f917de0dcf
commit
a159a5b2e4
@ -12,7 +12,7 @@ export default class ImageUploader extends React.Component {
|
||||
urlList: [],
|
||||
}
|
||||
|
||||
api = window.app.api.withEndpoints("main")
|
||||
api = window.app.cores.api.withEndpoints("main")
|
||||
|
||||
handleChange = ({ fileList }) => {
|
||||
this.setState({ fileList })
|
||||
|
Loading…
x
Reference in New Issue
Block a user