mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
have default...just in case
This commit is contained in:
1 parent
89f0663723
commit
a94e6a0ada
1 file changed
+1
-1
@@ -6,7 +6,7 @@ import I18n from 'coral-framework/modules/i18n/i18n';
|
||||
import translations from '../../translations.json';
|
||||
import {Logo} from './Logo';
|
||||
|
||||
const CoralHeader = ({handleLogout, showShortcuts, restricted = false}) => (
|
||||
const CoralHeader = ({handleLogout, showShortcuts = () => {}, restricted = false}) => (
|
||||
<Header className={styles.header}>
|
||||
<Logo className={styles.logo} />
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user