Editor Basics (#43)

Add basic editor
This commit is contained in:
Philip Molares 2020-05-29 15:44:45 +02:00 committed by GitHub
parent 557386f78f
commit e2155e735d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 834 additions and 467 deletions

View file

@ -17,6 +17,6 @@ export const getBackendUrl: (() => string) = () => {
return store.getState().frontendConfig.backendUrl
}
export const expectResponseCode: ((response: Response, code?: number) => boolean) = (response, code = 200) => {
export const expectResponseCode = (response: Response, code = 200): boolean => {
return response.status !== code
}