mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +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: [],
|
urlList: [],
|
||||||
}
|
}
|
||||||
|
|
||||||
api = window.app.api.withEndpoints("main")
|
api = window.app.cores.api.withEndpoints("main")
|
||||||
|
|
||||||
handleChange = ({ fileList }) => {
|
handleChange = ({ fileList }) => {
|
||||||
this.setState({ fileList })
|
this.setState({ fileList })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user