diff --git a/src/actions/actionTypes.js b/src/actions/actionTypes.js
index 9a80f1b..0202029 100644
--- a/src/actions/actionTypes.js
+++ b/src/actions/actionTypes.js
@@ -1,15 +1,16 @@
export const ADD_POST = 'ADD_POST'
+export const UPDATE_BOARD_METADATA = 'UPDATE_BOARD_METADATA'
export const OPEN_BOARD = 'OPEN_BOARD'
export const OPENED_BOARD = 'OPENED_BOARD'
export const UPDATE_BOARD = 'UPDATE_BOARD'
-export const BOARD_ERROR = 'BOARD_ERROR'
-
export const ORBITDB_WRITE = 'ORBITDB_WRITE'
export const ORBITDB_REPLICATE = 'ORBITDB_REPLICATE'
export const ORBITDB_REPLICATE_PROGRESS = 'ORBITDB_REPLICATE_PROGRESS'
-export const ORBITDB_REPLICATED = 'ORBITDB_REPLICATED'
\ No newline at end of file
+export const ORBITDB_REPLICATED = 'ORBITDB_REPLICATED'
+
+export const ERROR = 'ERROR'
\ No newline at end of file
diff --git a/src/actions/board.js b/src/actions/board.js
index 3b0f484..2859142 100644
--- a/src/actions/board.js
+++ b/src/actions/board.js
@@ -1,7 +1,7 @@
import {
OPEN_BOARD,
OPENED_BOARD,
- BOARD_ERROR
+ UPDATE_BOARD_METADATA
} from './actionTypes'
export function openBoard(board) {
@@ -18,9 +18,10 @@ export function createdBoard(board) {
}
}
-export function boardError(error) {
+export function updateBoardMetadata(address, metadata) {
return {
- type: BOARD_ERROR,
- error
+ type: UPDATE_BOARD_METADATA,
+ address,
+ metadata
}
}
\ No newline at end of file
diff --git a/src/components/Board.js b/src/components/Board.js
index ff5a9c0..0a1df45 100644
--- a/src/components/Board.js
+++ b/src/components/Board.js
@@ -90,7 +90,7 @@ export default function Board({ address, posts, metadata, replicating, stats, re
-