mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 10:22:38 +00:00
For some reason, Mongoose will reuse the old ID generated if you call nanoid directly. If you wrap it in a function, it will call it new each time a new document is created. Also updated patreon link :)
15 lines
330 B
JavaScript
15 lines
330 B
JavaScript
const React = require('react');
|
|
const createClass = require('create-react-class');
|
|
const Nav = require('naturalcrit/nav/nav.jsx');
|
|
|
|
module.exports = function(props){
|
|
return <Nav.item
|
|
className='patreon'
|
|
newTab={true}
|
|
href='https://www.patreon.com/NaturalCrit'
|
|
color='green'
|
|
icon='fa-heart'>
|
|
help out
|
|
</Nav.item>;
|
|
};
|