Skip to content

Instantly share code, notes, and snippets.

View sfletche's full-sized avatar

Scott Fletcher sfletche

  • Highspot
  • Portland, OR
View GitHub Profile
export function showAllPlans(state = false, action = {}) {
switch (action.type) {
case TOGGLE_ALL_PLANS:
return action.showAllPlans;
default:
return state;
}
}
export function maxProjectAmounts(state = [], action = {}) {
const initialState = {
pricingPlans: [],
pricingPlansWithRepayment: [],
selectedOptionIdentifier: null,
selectedPreviewOptionIdentifier: null,
error: {},
};
function reducer(state = initialState, action = {}) {
switch (action.type) {
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office",
"tags": [
"portland-office-alt"
],
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office",
"tags": [
"portland-office-alt"
],
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office Traversal",
"tags": [
"portland-office-traversal"
],
Use the following to skip / remove a file from being updated by git
> git update-index --skip-worktree <filename>
Use the following to see which files are currently being skipped / ignored
> git ls-files -v . | grep ^S
Use the following to revert the skip
> git update-index --no-skip-worktrree <filename>