Skip to content

Commit e6ebb73

Browse files
committed
fix: session snack message
1 parent ee6d88d commit e6ebb73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/providers/Session.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,9 @@ export default function SessionProvider({ children }: Props): React.ReactElement
151151
}
152152
useEffect(() => {
153153
if (!lastDbMessage) return
154-
const { editor: msgEditor, state, reason } = lastDbMessage
154+
const { state, reason } = lastDbMessage
155155

156156
// initiated by system
157-
if (state === 'dirty') snack.warning(`${t('User {{editor}} started editing.', { editor: msgEditor })}`)
158157
if (state === 'clean') {
159158
if (reason === 'conflict') {
160159
snack.info(

0 commit comments

Comments
 (0)