mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 23:06:54 +00:00
add back source
This commit is contained in:
1 parent
a1b5f37340
commit
00127858a1
1 file changed
+3
@@ -25,6 +25,9 @@ const getRedditLink = (brew)=>{
|
|||||||
export default ({ brew, disabled, currentPage })=>{
|
export default ({ brew, disabled, currentPage })=>{
|
||||||
return (
|
return (
|
||||||
<div className='nav-section'>
|
<div className='nav-section'>
|
||||||
|
<Nav.item icon='fas fa-code' href={`/source/${getShareId(brew)}`}>
|
||||||
|
View Raw Text
|
||||||
|
</Nav.item>
|
||||||
<Nav.item icon={'fas fa-pencil'} href={`/edit/${getEditId(brew)}`} disabled={disabled || !brew?.editId}>
|
<Nav.item icon={'fas fa-pencil'} href={`/edit/${getEditId(brew)}`} disabled={disabled || !brew?.editId}>
|
||||||
edit this brew
|
edit this brew
|
||||||
</Nav.item>
|
</Nav.item>
|
||||||
|
|||||||
Reference in new issue
Block a user