mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use api cores
This commit is contained in:
parent
360bf8826c
commit
ac5451c701
@ -14,7 +14,7 @@ export default (props) => {
|
||||
const [serverManifest, setServerManifest] = React.useState(null)
|
||||
|
||||
const checkServerVersion = async () => {
|
||||
const serverManifest = await app.api.customRequest("main")
|
||||
const serverManifest = await app.cores.api.customRequest("main")
|
||||
|
||||
setServerManifest(serverManifest.data)
|
||||
}
|
||||
@ -63,7 +63,7 @@ export default (props) => {
|
||||
</span>
|
||||
|
||||
<div className="value">
|
||||
{app.api?.namespaces.main.origin ?? "Unknown"}
|
||||
{app.cores.api?.namespaces.main.origin ?? "Unknown"}
|
||||
</div>
|
||||
</div>
|
||||
<div className="field">
|
||||
|
Loading…
x
Reference in New Issue
Block a user