edit response message
This commit is contained in:
parent
2b8448e1be
commit
c2f2511b87
|
@ -6,7 +6,7 @@ function Response(isSuccess, errorMessage, data)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
status = "ok",
|
status = "success",
|
||||||
data = data
|
data = data
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { isEnvBrowser } from './utils/misc';
|
||||||
import { fetchNui } from './utils/fetchNui';
|
import { fetchNui } from './utils/fetchNui';
|
||||||
import { DefaultUISetting, ISettingContext, UISetting } from './types';
|
import { DefaultUISetting, ISettingContext, UISetting } from './types';
|
||||||
|
|
||||||
const SettingContext = createContext<ISettingContext>(DefaultUISetting);
|
export const SettingContext = createContext<ISettingContext>(DefaultUISetting);
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const show = useSelector((state: RootState) => state.main.show);
|
const show = useSelector((state: RootState) => state.main.show);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user