In your command-line run the following commands:
brew doctor
brew update
import React, { Component } from 'react' | |
import PropTypes from 'prop-types' | |
/** | |
* Utils | |
*/ | |
const removeElementByIds = ids => { | |
ids.forEach(id => { | |
const element = document.getElementById(id) | |
if (element && element.parentNode) { |
<html> | |
<head> | |
<script type="text/javascript"> | |
// A CSRF token is required when making post requests in Django | |
// To be used for making AJAX requests in script.js | |
window.CSRF_TOKEN = "{{ csrf_token }}"; | |
</script> | |
</head> | |
<body> | |
<h2>My Blog Posts</h2> |
In your command-line run the following commands:
brew doctor
brew update