0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-26 01:48:13 +00:00

shared folder (for markdown.js and helpers

This commit is contained in:
Víctor Losada Hernández
2026-02-25 18:40:50 +01:00
parent 17f6fbe033
commit c096014871
21 changed files with 28 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import Nav from './nav.jsx';
import { splitTextStyleAndMetadata } from '../../../shared/helpers.js';
import { splitTextStyleAndMetadata } from '@shared/helpers.js';
const BREWKEY = 'HB_newPage_content';
const STYLEKEY = 'HB_newPage_style';

View File

@@ -1,6 +1,6 @@
import React from 'react';
import Nav from './nav.jsx';
import { printCurrentBrew } from '../../../shared/helpers.js';
import { printCurrentBrew } from '@shared/helpers.js';
export default function(){
return <Nav.item onClick={printCurrentBrew} color='purple' icon='far fa-file-pdf'>