9 lines
185 B
JavaScript
9 lines
185 B
JavaScript
|
import * as ActionTypes from '../../../constants';
|
||
|
|
||
|
export function updateFile(name, content) {
|
||
|
return {
|
||
|
type: ActionTypes.CHANGE_SELECTED_FILE,
|
||
|
name: name,
|
||
|
content: content
|
||
|
}
|
||
|
}
|