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