Fetch the latest code from main repo
git fetch upstream
Checkout development branch in fork
git checkout development
Merge the latest code from main repo
git merge upstream/development
Push the development branch
const MuiTheme = { | |
palette: { | |
primary: { | |
main: "#4086ff", | |
dark: "#005ACB" | |
}, | |
secondary: { | |
main: "#E67381", | |
dark: "#D0021B" | |
} |
import React from "react"; | |
import { ThemeProvider as MuiThemeProvider } from "@material-ui/styles"; | |
const ProviderWrapper = ({ children, theme }) => <MuiThemeProvider theme={theme}>{children}</MuiThemeProvider>; | |
export default ProviderWrapper; |
import "storybook-addon-react-live-edit/dist/register"; |
Fetch the latest code from main repo
git fetch upstream
Checkout development branch in fork
git checkout development
Merge the latest code from main repo
git merge upstream/development
Push the development branch
name: github - repo sync | |
on: | |
schedule: | |
- cron: "*/05 * * * *" | |
jobs: | |
repo-sync: | |
runs-on: ubuntu-latest | |
steps: |
syntax = "proto3"; | |
package com.book; | |
message Book { | |
int64 isbn = 1; | |
string title = 2; | |
string author = 3; | |
} |
/** | |
* @fileoverview | |
* @enhanceable | |
* @suppress {messageConventions} JS Compiler reports an error if a variable or | |
* field starts with 'MSG_' and isn't a translatable message. | |
* @public | |
*/ | |
// GENERATED CODE -- DO NOT EDIT! | |
/* eslint-disable */ |
import { grpc } from "@improbable-eng/grpc-web"; | |
import { BookService } from "./Book_pb_service"; | |
parseGetBookMessage = message => { | |
// parse the binary response back to appropriate type described in the proto | |
const book = { | |
isbn: message.getIsbn(), | |
title: message.getTitle(), | |
author: message.getAuthor() | |
}; |
const GifContainer = ({ classes, content }) => { | |
return ( | |
<img | |
src={content} | |
alt="Demo Gif File" | |
className={classes.FullWidth} | |
loading="lazy" | |
/> | |
); | |
}; |
<link rel="dns-prefetch" href="//static.hotjar.com"> | |
<link rel="dns-prefetch" href="//www.google-analytics.com"> | |
<link rel="dns-prefetch" href="//fonts.googleapis.com"> | |
<link rel="dns-prefetch" href="//fonts.gstatic.com"> |