Skip to content

Commit

Permalink
imports updated for notification component
Browse files Browse the repository at this point in the history
RachelDau committed Jan 23, 2024

Verified

This commit was signed with the committer’s verified signature.
targos Michaël Zasso
1 parent d6ca441 commit fce6ab2
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import './notification.scss'
const React = require('react')
require('./notification.scss')

const Notification = () => {
const [notifications, setNotifications] = React.useState([])
@@ -63,4 +63,4 @@ const Notification = () => {
}
}

export default Notification
module.exports = Notification
Original file line number Diff line number Diff line change
@@ -2,8 +2,7 @@ require('./repository-nav.scss')

const React = require('react')
const Avatar = require('./avatar')
const { check } = require('express-validator')
const Notification = require('./notification.jsx').default
const Notification = require('./notification')

const RepositoryNav = props => {
let timeOutId

0 comments on commit fce6ab2

Please sign in to comment.