Trying to get postReference into remix.js