15 lines
215 B
JavaScript
15 lines
215 B
JavaScript
|
import { SERVER } from './actionsTypes';
|
||
|
|
||
|
export function setServer(server) {
|
||
|
return {
|
||
|
type: SERVER.SELECT,
|
||
|
server
|
||
|
};
|
||
|
}
|
||
|
export function changedServer(server) {
|
||
|
return {
|
||
|
type: SERVER.CHANGED,
|
||
|
server
|
||
|
};
|
||
|
}
|