chore: change default outline workspace name

This commit is contained in:
QiShaoXuan 2023-01-06 14:50:12 +08:00
parent 2b8c975e6c
commit d43bdb7aa9

View File

@ -1,8 +1,8 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import { useAppState } from '@/providers/app-state-provider'; import { useAppState } from '@/providers/app-state-provider';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
const defaultOutLineWorkspaceId = const defaultOutLineWorkspaceId = 'affine';
'local-first-' + '85b4ca0b9081421d903bbc2501ea280f'; // 'local-first-' + '85b4ca0b9081421d903bbc2501ea280f';
// It is a fully effective hook // It is a fully effective hook
// Cause it not just ensure workspace loaded, but also have router change. // Cause it not just ensure workspace loaded, but also have router change.
export const useEnsureWorkspace = () => { export const useEnsureWorkspace = () => {