Rocket.Chat.ReactNative/app/actions/server.js

15 lines
215 B
JavaScript
Raw Normal View History

import { SERVER } from './actionsTypes';
export function setServer(server) {
return {
type: SERVER.SELECT,
server
};
}
export function changedServer(server) {
return {
type: SERVER.CHANGED,
server
};
}